开发者

Unable to run selenium tests for server running in background

开发者 https://www.devze.com 2023-01-29 16:20 出处:网络
I am r开发者_StackOverflow社区unning my selenium server in background with the help of nssm service. I am running the server at a particular port (11111).

I am r开发者_StackOverflow社区unning my selenium server in background with the help of nssm service. I am running the server at a particular port (11111).

I wrote some unit test in VS 2010 and when I am trying to invoke the selenium service with

selenium = new DefaultSelenium("localhost", 11111, "*iehta", "http://www.google.co.in");
selenium.Start()

it gives me error "Unable to connect to the remote server". Please help.


Can you telnet to that port? This is unlikely to be a Selenium problem, but rather one related to how you're starting that server.

0

精彩评论

暂无评论...
验证码 换一张
取 消