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)
> 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,
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.