Browser Automations ( using Webdriver ) when running from Jenkins are running as Process but not visibl

妖精的绣舞 提交于 2020-01-11 10:46:09

问题


Details : - Developed a test automation framework using Webdriver and TestNG - Using ANT as triggering tool to drive browser automations. This is working fine, I could see Browser getting opened and see all the navigations - Setup Jenkins on my local & configured to invoke ANT - Clicked on Build Now link in the Job - Browser is not visible, instead running as a process...could see it in Windows Task Manager

Any help / Inputs / Pointers is much appreciated!!


回答1:


You are probably running Jenkins in the background using the executable provided with it, you need to run it in the foreground: java -jar jenkins.war [other options]. Also, make sure you are looking at the machine where Jenkins is actually run. See this answer.



来源:https://stackoverflow.com/questions/9714497/browser-automations-using-webdriver-when-running-from-jenkins-are-running-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!