Forum Discussion

wilkinc's avatar
wilkinc
Occasional Contributor
12 years ago

Running Automated Tests from TeamCity

Hi,



We're using TeamCity to run Automated Tests with TestComplete, but we're finding that if we don't have a remote desktop open to our test machines, the tests fail because the 'window is invisible and thus cannot be activated. The machines we're using are Amazon AWS virtual machines which are automatically created within TeamCity.



Is there any way to solve this problem other than connecting a remote desktop session to each box (which isn't really feasible if we have lots of them being run automatically).



Thanks in advance



Chris


1 Reply

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    Hi Chris,



    This is not a problem of TestComplete but expected functionality of Windows OS - there is no user desktop where the tested application can draw its UI if the user is not logged on and thus no GUI controls can be found by TestComplete just because they (controls) do not exist.

    If the tested application is GUI-less and can run unattended, then it can be driven by TestComplete without any problems even if no user is logged in.