cancel
Showing results for 
Search instead for 
Did you mean: 

UI tests navigate pages only if RDP connection is opened

SOLVED
simonaferrara
Contributor

UI tests navigate pages only if RDP connection is opened

Hi all,

 

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?

 

Thanks

Simona

 

1 ACCEPTED SOLUTION

Accepted Solutions
tphillips
Community Leader

Re: UI tests navigate pages only if RDP connection is opened

Also make sure the auto logon is configured as an interactive session

https://support.smartbear.com/testcomplete/docs/working-with/integration/azure/test-adapter/requirem...


--------------------
QA Systems Architect

View solution in original post

3 REPLIES 3
hkim5
Staff

Re: UI tests navigate pages only if RDP connection is opened

 is the azure devops agent located on that release machine configured with auto logon that has admin credentials?

Best,
Justin Kim
tphillips
Community Leader

Re: UI tests navigate pages only if RDP connection is opened

Also make sure the auto logon is configured as an interactive session

https://support.smartbear.com/testcomplete/docs/working-with/integration/azure/test-adapter/requirem...


--------------------
QA Systems Architect

View solution in original post

simonaferrara
Contributor

Re: UI tests navigate pages only if RDP connection is opened

Thank you both for your suggestions, @hkim5 and @tphillips !

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!

New Here?
Join us and watch the welcome video:
Top Kudoed Authors