[英]Unable to run Testng tests by Invoking browser specific node using selenium grid2
Am facing a problem when running my test cases which are written in java (testng) using selenium grid2. 运行使用Selenium grid2用Java(testng)编写的测试用例时遇到问题。 This are the steps which i followed
这是我遵循的步骤
am getting error when i am following this steps. 当我按照此步骤操作时出现错误。
if i am invoking the node without browser specific am not getting any error. 如果我在没有浏览器特定的情况下调用节点,则不会收到任何错误。
Can some help me in resolving the issue. 可以帮助我解决问题。
Thanks Raghuram 谢谢Raghuram
集线器端口不正确(从444代替4444,而不是444),并且-browser之前带有奇数"
符号。请将以下代码复制并粘贴到cmd:
java -jar selenium-server-standalone.2.20.0.jar -role node -hub http://localhost:4444/gird/register -browser "browserName=firefox,version=11.0,maxInstance=5"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.