Forum Discussion
9 Replies
- rraghvani
Champion Level 3
Is it just one usename you are using to access the VM? Are you using one monitor to connect to he VM?
- kylegogtpContributor
They have multiple monitors but only run RDP on one monitor and disconnect.
They each have their own login for the VMs.
- rraghvani
Champion Level 3
When you run your automation scripts on that VM via Azure, are you using TestComplete, TestExecute or SessionCreator?
- kylegogtpContributor
Test Execute.
Also, when I try and recreate the issue I cannot, but nightly it happens for them.
- rraghvani
Champion Level 3
When you are using TestExecute, there needs to be an active session on the VM. So for example, if you have setup your Azure to use user UserXYZ to run the automation. Then user UserXYZ needs to be logged into the VM - from here you can call tscon.
- kylegogtpContributor
They are logged in and use tscon. Then the tests run. When I do the same I don't have this issue. Could there be some setting they have different than mine causing this?
- rraghvani
Champion Level 3
If two or more users had logged on to the VM and used tscon. How does Azure know which sessions to use, in order to run the automation?
It sounds like the test agent is configured for you only.
I suggest you read through Integration With Azure DevOps and Team Foundation Server via TestComplete Test Adapter.
- kylegogtpContributor
I'll look through that.
Each user has their own VM and only 1 user logs into it.
Also, Thanks for your help.
- rraghvani
Champion Level 3
Ah ok. I thought you had multiple users accessing the same VM!
You need to check how Azure is setup.