当我在詹金斯上运行硒测试用例时,无法与webelement交互

时间:2019-03-02 07:24:27

标签: google-chrome jenkins

我的登录测试在jenkins中失败,并在eclipse和command上正常运行。我认为jenkins无法与用户名,密码字段和提交交互。我通过允许jenkin与桌面交互尝试了一些解决方案。我也尝试在命令行上使用java -jar jenkins.war运行jenkins,但我不知道完整的过程。

请提出完整的解决方案

控制台输出:

Starting ChromeDriver 2.45.615291 (ec3682e3c9061c10f26ea9e5cdcf3c53f3f74387) on port 21901
Only local connections are allowed.
Mar 02, 2019 12:17:13 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS

Welcome back!

test run cmd
D:\test-output\testfiule 2019_03_02__12_17_25.png

failed

===============================================
Suite
Total tests run: 1, Failures: 0, Skips: 0
===============================================

C:\Users\designs\eclipse-workspace\seffcon11>cmd /k 
C:\Users\designs\eclipse-workspace\seffcon11>Finished: SUCCESS

0 个答案:

没有答案