Forum Discussion

whuang's avatar
whuang
Regular Contributor
6 years ago

Unable to launch TC from QAComplete when remote machine is not connected

Hi everyone,   I have my automated test linked to QAComplete, and I am able to launch the automated tests from QAComplete when I sign into the host machine, but if I don't log on to the host mach...
  • AlexKaras's avatar
    6 years ago

    Hi,

     

    > if I don't log on to the host machine

    'Host machine' is the machine where tests are executed, right?

     

    > Does anyone know why?

    If my above guess is correct, that, as it is stated in the test log, test code fails because tested application does not have user desktop where it (application) can render its UI and thus TestComplete cannot find this UI and fails to interact with it.

     

    > how can I get it running without logon to the host machine.

    No way. Point.
    This is not a problem of TestComplete, but essential behaviour of the WIndows OS.

    https://support.smartbear.com/testcomplete/docs/testing-with/running/on-locked-computers.html and https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/index.html might provide you with some ideas.

     

  • vthomeschoolmom's avatar
    vthomeschoolmom
    6 years ago

    To Alexas point, the solution that I have achieved in my organization was to have a user added to the domain that does not lock. Very helpful.