Forum Discussion

mgy333's avatar
mgy333
Contributor
12 years ago

Running TestExecute on a headless VM

Hi all,



I am trying to run TestComplete scripts using TestExecute on a headless VM.



The VM is created automatically in clean state, installs TestExecute and other software, then launches the script.



I got this error:



Possible reason:The Switch User command was used.    The test is run on a computer that is controlled via Remote Desktop, and the Remote Desktop Connection was closed.Learn more about the problem and possible solutionsTested object:Sys.Process("rundll32").Window("#32770", "Internet Properties", 1).Window("SysTabControl32", "", 1)





Obviously there is a issue because the test VM is headless.



Is there a way to get around this issue?  Is there a automatic way to start a GUI session, so TestExecute can properly execute the test?



Thanks,

Motoo