Forum Discussion

  • rraghvani's avatar
    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?

    • kylegogtp's avatar
      kylegogtp
      Contributor

      They have multiple monitors but only run RDP on one monitor and disconnect.

       

      They each have their own login for the VMs.

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    When you run your automation scripts on that VM via Azure, are you using TestComplete, TestExecute or SessionCreator?

    • kylegogtp's avatar
      kylegogtp
      Contributor

      Test Execute.

       

      Also, when I try and recreate the issue I cannot, but nightly it happens for them. 

  • rraghvani's avatar
    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.

     

    • kylegogtp's avatar
      kylegogtp
      Contributor

      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?

    • kylegogtp's avatar
      kylegogtp
      Contributor

      I'll look through that.

       

      Each user has their own VM and only 1 user logs into it.

       

      Also, Thanks for your help.

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Ah ok. I thought you had multiple users accessing the same VM!

     

    You need to check how Azure is setup.