Forum Discussion

kzumbusch's avatar
kzumbusch
Occasional Contributor
9 years ago
Solved

Run TestExecute or TestComplete from Windows service

Hi there,   we recently aquired TestComplete for automated setup, UI and web testing. These tests are run multiple times on different virtual machines on every operating system our application supp...
  • AlexKaras's avatar
    AlexKaras
    9 years ago

    Hi Kay,

     

    Yes, I think that this should work. The only requirement here is that the correct user must be logged-in and have desktop session for the RDP computers.

    I am not sure if the project started as a slave from the master one in the Network Suite will open user session on the slave computer and use it then or not.

    If it is not, then you may consider the free RDP Plus utility that can be provided with (encrypted) user credentials to open the RDP session and then use, say, psexec utility by SysInternals (part of MS now) to start TestComplete remotely within opened user session. (You may even not to use the Network Suite in this case, but code the above two actions in the code started by Windows service.)
    http://community.smartbear.com/t5/Getting-Started-with/Does-TestComplete-Truly-run-Headless-TestExecute-as-well/m-p/93900 might appear to be useful (if you hadn't already read it)