malj
15 years agoContributor
TestComplete Tests Started by Windows Service
Some time ago we started looking at running TestComplete tests from our continuous integration environment, Cruise Control. To trigger tests on a remote machine, Cruise Control communicates with an SSH server running as a service under user name "SYSTEM" on the remote machine. The SSH server runs a batch file to perform the testing. We edited the batch file to launch TestComplete but found that TestComplete was always launched with no GUI. Applications started by TestComplete were also invisible. Processes were seen and simple tests like "Log.Message "HelloWorld" could be run successfully but, without any visible GUI I believe TestComplete will not be able to do any serious testing. TestComplete was run as the user we were logged in as.
I guess this has something to do with the service. Running TestComplete manually or using scheduled tasks is no problem. You can select "Allow service to interact with desktop" for the service. Doing so seems to notify me that TestComplete or the tested application has something to show to me but I never see anything. Does anyone have any idea how to make TestComplete run visibly?
I am today using Network Suite, partly to workaround the problem described but also to be able to run tests concurrently on multiple OS but I would really like to know if there is a way to solve the problem described.
I guess this has something to do with the service. Running TestComplete manually or using scheduled tasks is no problem. You can select "Allow service to interact with desktop" for the service. Doing so seems to notify me that TestComplete or the tested application has something to show to me but I never see anything. Does anyone have any idea how to make TestComplete run visibly?
I am today using Network Suite, partly to workaround the problem described but also to be able to run tests concurrently on multiple OS but I would really like to know if there is a way to solve the problem described.