繁体   English   中英

Selenium RC:我无法在firefox或任何其他浏览器中运行测试套件

[英]Selenium RC: I am unable run test suite in firefox or any other browser

我是Selenium的新手。 我最近遇到了一个我无法克服的失败。 我正在尝试在Firefox或Chrome中运行下一个套件:

C:\auto_tools>java -jar selenium-server-standalone-2.46.0.jar -htmlSuite "*googlechrome C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "http://google.com" "D:\Selenium_2.0\Selenium_tests\Selenium_IDE&Selenium Builder\Selenium_start\test_suit.html" "D:\Selenium_2.0\Selenium_tests\Selenium_IDE&Selenium Builder\Selenium_start\results.html"

作为答案,我看到chrome浏览器具有:

http://google.com/selenium-server/core/TestRunner.html?auto=true&multiWindow=true&defaultLogLevel=info&baseUrl=http%3A%2F%2Fgoogle.com&resultsUrl=../postResults&test=http%3A%2F%2Fgoogle.com %2Fselenium-server%2Ftests%2Ftest_suit.html

23:02:46.698信息-启动独立的Selenium服务器

23:02:46.825 INFO-Java:Oracle Corporation 25.45-b02 23:02:46.826 INFO-OS:Windows 7 6.1 amd64 23:02:46.838 INFO-v2.46.0,带有Core v2.46.0。 从修订版87c69e2 23:02:46.897构建INFO-未找到驱动程序类:com.opera.core.systems.OperaDriver 23:02:46.897 INFO-未注册驱动程序提供程序com.opera.core.systems.OperaDriver 23:02: 47.096信息-启动Google Chrome浏览器...

与* firefox path / to / firefox.exe-相同的问题...

有人可以帮忙吗?

昨天我发现原因是我的防病毒软件阻止了包括端口4444在内的本地主机的连接-这就是为什么我无法运行测试服的原因。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM