Reputation: 21
I am trying to run the Test Compelete Scripts on a virtual machine through Azure DevOps pipeline.
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)
Upvotes: 2
Views: 357
Reputation: 19471
You typically get this error when the test is run from a scheduled task with the Run whether user is logged on or not option. The error occurs because in this case the test is run in a non-interactive session and cannot interact with the GUI.
To resolve the problem, do the following:
Here is the document you can refer to.
Upvotes: 1