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)