When executing my Jenkins tests with Selenium WebDriver, I do not see a GUI.

0 votes
My code is a Selenium code and I have TestNG dependencies in it. This code and dependencies are built with maven's pom.xml file (mvn test).

Now when I schedule these tests with Jenkins on my windows machine, I only see the Console Output. The tests happen though. But the GUI does not come up. As in, my browser instance does not popup and I cannot actually see the test happen infront of me. Can I even see it?
May 2, 2018 in Selenium by eLiJha
• 700 points
410 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Jenkins is a web server which is majorly used in production server...and in prod servers, most of the times, there are no GUIs.
But if you want to enable the GUI coming up in your lcoal machine, then it is still possible. 2 steps:

1. Open Windows services (or run: services.msc)
image
2. Double click on Jenkins service
3. In Logon tab, check this box: "Allow service to interact with Desktop"
image

Now it should work fine for you. ATB

answered May 2, 2018 by sniffy_god
• 760 points
This is not working for Win10. what would be the solution for same issue in Win-10

Related Questions In Selenium

0 votes
2 answers
0 votes
1 answer

Can we run selenium tests (Firefox) on WebDriver without a GUI?

You can explore options like HTMLUnit Driver ...READ MORE

answered Mar 23, 2018 in Selenium by nsv999
• 5,050 points
169 views
0 votes
1 answer

I tried to open a new website when a new tab is opened using Selenium Webdriver

Try this code: ArrayList<String> tabs = new ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,050 points
582 views
0 votes
1 answer

How do i change the location where my file gets downloaded in Selenium Webdriver and firefox driver?

There are a couple of errors there. ...READ MORE

answered Apr 12, 2018 in Selenium by nsv999
• 5,050 points
1,017 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.