开发者

error while opening browser with selenium RC using JUnit

I am getting following error while opening browser with selenium RC using JUnit. Plz help.

com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL = http://www.google.com/ Response_Code = 403 Error_Message = Forbidden
at com.thoughtworks.selenium.HttpComma开发者_JS百科ndProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand


I would recommend setting as startURL the Ip address of the site you want to test.

See also this SO answer.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜