簡體   English   中英

當我通過Jenkins運行Selenium腳本時,未在Jenkins服務器中實例化瀏覽器,但我的Jenkins構建已通過

[英]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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM