UI tests navigate pages only if RDP connection is opened
I've got a general issue on the execution of my Test Complete UI tests on the release machine, within an Azure DevOps release pipeline.
The UI tests are correctly working only if I run the release with an opened RDP from my PC.
So, actually, I can run them with success only if I'm viewing real-time the test execution within an RDP (I see that the browser page is opened.. the clicks are done.. and so on.. and test is passed).
If I close my RDP and run the release, all UI tests fail with an error like this:
"Unable to navigate to the <xxx> page". Moreover, the picture attached to the Test Complete log is empty.
It seems that it cannot open the browser if I'm not connected via RDP.
The release machine is a physical machine in lab, without a monitor.
What can I do to have UI tests correctly running without the need to keep an RDP opened?
Solved! Go to Solution.
Also make sure the auto logon is configured as an interactive session
Senior SQA Automation Engineer
I had configured the agent with autologin and interactive mode in the past, but I've started to check it following your suggestions.
I've discovered lot of issues into release machine. Some new agents where added by colleagues and the result was that there were more then one agent running, so there was a completely wrong agent configuration on place!
Now, with only one agent running (the good one), it works!