2015-07-21 46 views
0

我是新手硒。我最近遇到了一次我无法克服的失败。 我试图在Firefox或Chrome运行下一套房:硒RC:我无法运行测试套件在Firefox或任何其他浏览器

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 INFO - 启动一个独立的Selenium服务器

23:02:46.825 INFO - Java的:甲骨文公司25.45-B02 23:02:46.826 信息 - 操作系统:Windows 7 6.1 AMD64 23:02:46.838 INFO - v2.46.0,拥有核心 v2.46.0。修订版本87c69e2 23:02:46.897信息 - 驱动程序类 找不到:com.opera.core.systems.OperaDriver 23:02:46.897信息 - 驱动程序提供程序com.opera.core.systems.OperaDriver未注册 23 :02:47.096 INFO - 启动谷歌浏览器...

与* Firefox的路径/到/ firefox.exe - 同样的问题...

谁能帮助吗?

回答

1

昨天我发现的原因是我的杀毒软件阻止连接到本地主机包括端口4444 - 这就是为什么我不能运行测试套件。

相关问题