gpt4 book ai didi

java - Selenium RC : I am unable run test suite in firefox or any other browser

转载 作者:行者123 更新时间:2023-12-01 11:18:23 25 4
gpt4 key购买 nike

我是 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 - Launching a standalone Selenium Server

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, with Core v2.46.0. Built from revision 87c69e2 23:02:46.897 INFO - Driver class not found:com.opera.core.systems.OperaDriver 23:02:46.897 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered 23:02:47.096 INFO - Launching Google Chrome...

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

有人可以帮忙吗?

最佳答案

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

关于java - Selenium RC : I am unable run test suite in firefox or any other browser,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31530506/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com