cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Frequent 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

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Hero

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

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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

Super Contributor

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

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.

View solution in original post

4 REPLIES 4
Community Hero

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

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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

Frequent Contributor

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

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.

Community Hero

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

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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Super Contributor

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

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.

View solution in original post