【问题标题】:Selenium RC: I am unable run test suite in firefox or any other browserSelenium RC:我无法在 Firefox 或任何其他浏览器中运行测试套件
【发布时间】:2015-07-21 04:40:10
【问题描述】:

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

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

使用 *firefox path/to/firefox.exe - 同样的问题...

有人可以帮忙吗?

【问题讨论】:

    标签: java google-chrome firefox selenium selenium-rc


    【解决方案1】:

    昨天我发现原因是我的防病毒软件阻止了与 localhost 的连接,包括端口 4444 - 这就是我无法运行测试套件的原因。

    【讨论】:

    • 那是杀毒软件阻止了我所有的本地端口
    猜你喜欢
    • 2023-01-07
    • 2010-09-17
    • 1970-01-01
    • 2018-10-04
    • 1970-01-01
    • 1970-01-01
    • 2013-06-24
    • 2016-10-12
    • 2013-06-08
    相关资源
    最近更新 更多