0

Recently, my tests started failing. I'm testing on IE11(company policy) on a jenkins windows slave.

My tests all hang on the "This is the initial start page" if I'm not connected to the server.
If I am connected, the tests run as they're supposed to.

I'm using java bindings 3.141.59 on IE WebDriver 3.15.

1

1 Answer 1

0

Selenium is interacting with system's GUI that is responsible for drawing the windows and dispatching user interactions to certain UI elements. When you run your tests having remote desktop window open (or when you logged on the session on your local machine) Selenium can obtain GUI objects since it can see them just like you do.

Once you close or collapse remote desktop window or locks your local machine, GUI is getting terminated so nobody (including Selenium test) can interact with it. You can try to apply solutions which suggested here. They implies some reconfiguration of the system that is hosting your Jenkins slave.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.