I am getting login screen while trying to test connection to my local agent on Virtual Machine

I am getting login screen while trying to test connection to my local agent on Virtual Machine

Description
When you've installed Leapwork on a Virtual Machine and you're trying to do a test connection on an environment, you may receive an error message "Your remote desktop services session has ended" in the following situations:

This means that you will see a login screen instead of the video for the tests being executed. The Web cases will be executed however the "Desktop UI" and "Image & Text Recognition" based tests will fail.

Resolution
To be able to keep the remote session and connect to the Agent in the edit environment user needs to:

  1. Create another Windows user account. See how to do that here.
  2. Create a remote Agent environment filling in the hostname of the remote machine (with the Agent) and other relevant data.
  3. Click test connection. You will see a choice of user accounts. You need to select the one that you have just created and log in.

Now you are logged in until you explicitly log out or until another user tries to connect to the Agent with the same user account.

If this issue continues, please contact our Priority Support.