开发者

Unable to run selenium tests for server running in background

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜