Answer the question
In order to leave comments, you need to log in
How to run desktop autotests via jenkins on a remote machine that require an active desktop?
Hello!
I'm having trouble running autotests (Java+Maven+TestNg) that check the functionality of the desktop application. The launch is implemented through jenkins: The job is launched - a redirection to the node (Windows Server) takes place, then on the Windows Server node, autotests should launch the application and perform checks. But the application window cannot be launched - such tests require an active desktop. Tried to use Autologon - did not help.
Share advice, who came across this - I will be very grateful!
Answer the question
In order to leave comments, you need to log in
The user must be logged in locally.
If you need to perform actions remotely - autologin and task scheduler, if manually, then teamviewer or VNC and the like.
The main thing is no RDP and you will be happy.
But the application window cannot be launched - such tests require an active desktop. Tried to use Autologon - did not help.
Job starts - redirect to node (Windows Server)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question