cancel
Showing results for 
Search instead for 
Did you mean: 

Execution failed when Local Computer locked

Highlighted
Occasional Contributor

Execution failed when Local Computer locked

Hi,
Is there a way to continue execution when Remote Desktop is active and local machine is locked
5 REPLIES
Community Hero

Re: Execution failed when Local Computer locked

Evidently not

https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/overview.html

 

 

Some important notes:

  • When running GUI tests via Remote Desktop, do not do the following:

    • Do not lock the computer.
      See the tips below.

    • Do not disconnect from the Remote Desktop Connection session.
      See the workaround below.

    • Do not minimize the Remote Desktop window.
      See the workaround below.

Contributor

Re: Execution failed when Local Computer locked

One way we got around this was using VNC to remote into our test lab machines and kick off the tests.  The VNC services would keep the remote UI active for us while we were disconnected.  We did find it to be a little slower to interact with the desktop, but it didn't seem to slow the tests down.

Occasional Contributor

Re: Execution failed when Local Computer locked

There is one more thing I have noticed,

 

1) The execution is running seamlessly when the local machine is Windows 7, but if the local machine is Windows 10 and if we lock it, all our test cases are getting failed after the timeout delay

 

Note: Remote machine was Windows 10 in both the above cases

Frequent Contributor

Re: Execution failed when Local Computer locked

<p>What OS you are using out of&nbsp; remote access ?? that would be help for better reply.<br>Any way 1st go for it:</p>
<p>1) Go to the System settings<br>2) Brighteness &amp; Lock&nbsp;</p>
<p>3) turn screen off when inactive for&nbsp; =&gt; Never<br><br>Do this chnages and pls reply</p>
Community Hero

Re: Execution failed when Local Computer locked

Hi,

 

A workaround that works sometimes is to open remote session (B) within another remote session (A) running on your local machine. Quite often session B is not getting locked when the local machine is locked.

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/
================================
Top Kudoed Authors
Are You In?