Ask a Question

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

SOLVED
whuang
Regular Contributor

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 machine just launch the test directly from QAComplete, it would fail. Does anyone know why? and how can I get it running without logon to the host machine.

 

Thanks

4 REPLIES 4
AlexKaras
Community Hero

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.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
whuang
Regular Contributor

Ok, thanks @AlexKaras so I guess my best choice is logon to the host machine first, and then launch the test from QAComplete, then disconnect from RDP while keep the remote session alive.

Hi,

 

Yes, this is the way that works.

Note: Remember, that the session that was used to start test must left active and not locked after you disconnect your remote client.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

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.

cancel
Showing results for 
Search instead for 
Did you mean: