0
我想在詹金斯運行硒。當我在本地運行時,測試總是通過。但在詹金斯我總是得到錯誤:硒在詹金斯失敗測試
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!
沒有這樣的元素:找不到元素:
進出口使用詹金斯,硒和測試
你在本地機jenkins或奴隸模式詹金斯運行? – jaibalaji
看看'_RegisterApplication()','_CGSDefaultConnection()爲NULL'似乎有些問題' – DebanjanB
@Skyx什麼是操作系統?詹金斯運行的過程? – Grasshopper