GUI测试在Windows上不可见

GUI测试在Windows上不可见

本文介绍了Jenkins:Selenium GUI测试在Windows上不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从jenkins(Windows)运行硒测试(MVN测试)时,我只能看到控制台输出.我没有看到真正的浏览器被打开.如何配置jenkins,以便可以看到运行测试的浏览器?

When I run my selenium test (mvn test) from jenkins (windows) I see only the console output. I don't see the real browsers getting opened . How can I configure jenkins so that I can see the browsers running the test?

推荐答案

我找到了解决方案.我从命令提示符处以"java -jar jenkins.war"而不是Windows Installer版本运行了jenkins.现在,我可以看到基于浏览器的测试正在执行.

I got the solution. I ran jenkins from command prompt as "java -jar jenkins.war" instead of the windows installer version. Now I can see my browser based tests being executed.

这篇关于Jenkins:Selenium GUI测试在Windows上不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 08:31