硒在詹金斯失败测试
我想在詹金斯运行硒。当我在本地运行时,测试总是通过。但在詹金斯我总是得到错误:硒在詹金斯失败测试
Configuring TestNG with: [email protected]9f1 Starting ChromeDriver 2.34.522932 (4140ab217e1ca1bec0c4b4d1b148f3361eb3a03e) on port 10010
Only local connections are allowed.
Dec 18, 2017 2:35:43 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
File cannot be found
Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 6.807 sec <<< FAILURE!
没有这样的元素:找不到元素:
进出口使用詹金斯,硒和测试
回答:
这个问题涉及到你的Mac,并且是一个连接问题到您正在运行脚本的其他服务器。为解决这个问题,请阅读这个:https://discussions.apple.com/thread/1789752
以上是 硒在詹金斯失败测试 的全部内容, 来源链接: utcz.com/qa/260495.html