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.
精彩评论