[英]When I run my selenium scripts through Jenkins, browser was not instantiated in Jenkins server but my Jenkins build was pass
当我通过Jenkins运行Selenium脚本时,未在Jenkins服务器中实例化浏览器,但是我的Jenkins构建已通过。 构建应该失败。 您能帮我提供解决方案吗?
It seems you are using windows, "you need to allow Jenkins service to interact with desktop"
follow below step in order to enable Jenkins service to interact with desktop.
1- open run and search for "services.msc"
2- Scroll down to the Jenkins service and right-click, select Properties.
3- Now click on Log on Tab and you will see "Allow service to interact with desktop" check this checkbox and you are done.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.