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 supports. My task is to include these automated tests into our existing build environment managed by VSoft Continua CI (https://www.finalbuilder.com/continua-ci).
Using Continua CI agents I can distribute all build related tasks to multiple computers and one of these computers will be our main TestComplete host. The Continua CI agents are Windows services executed with the identity of a Windows Active Directory user account. As one of the support documents about Jenkins integration states that TestExecute needs an active desktop enviroment I'd like to know if it's even possible to run our TestComplete project from a Windows service.
Kind regards
Kay Zumbusch
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)