Ask a Question

Need to run Azure Devops Pipeline without connecting to VM or taking RDP Connection

SOLVED
Hit_ds
Frequent Visitor

Need to run Azure Devops Pipeline without connecting to VM or taking RDP Connection

To post in Community I am trying to run the Test Compelete Scripts on a virtual machine through Azure DevOps pipeline. VM is configured as agent and run as an interactive process, auto logon feature is enabled. Now, I wont connect to VM that is VM is in locked state. When I run the Azure Devops pipeline release. Execution starts in VM. But when I check the logs I see that the user action in the Test scripts are not performed. Eg: My application is launched, and next steps when I have to select a radio button execution fails and also in TE log I can see "User session is disconnected and also I can see that it is not able to identify the object)

1 REPLY 1
AlexKaras
Champion Level 3

Hi,

 

 I can see that it is not able to identify the object

This is expected for TestComplete due to how Windows OS functions - there is no active user desktop for the locked session where the tested application can render its UI and thus TestComplete cannot identify the UI object that has not been rendered.

TestExecute Lite - a special edition of TestExecute - provides a functionality that solves this problem - https://support.smartbear.com/testexecute/docs/running/cross-platform-tests/about.html,

https://support.smartbear.com/testexecute/docs/running/cross-platform-tests/run/command-line.html,

https://support.smartbear.com/testexecute/docs/running/cross-platform-tests/run/azure.html,

https://support.smartbear.com/testexecute/docs/running/cross-platform-tests/install/getting-install-....

Check documentation and ask Support additional questions if any via the https://support.smartbear.com/message/?prod=TestComplete form.

 

P.S. Note, that unattended tests execution via TestExecute Lite works only for the projects created for cross-platform testing and requires Selenium grid.

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
cancel
Showing results for 
Search instead for 
Did you mean: