cancel
Showing results for 
Search instead for 
Did you mean: 

locking my local computer stops test execution in VM machine

SOLVED
Frequent Contributor

locking my local computer stops test execution in VM machine

I'm using VM on windows 7 to execute Tests. I'm connecting to VM from my local machine that's running on windows 10. Tests on VM runs perfect when i'm active on my local machine , stepping away/locked my local machine resulting error in running tests on VM. Error: the operation cannot be performed because the desktop is invisible. Do i need to modify any registry on my local machine? 

thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: locking my local computer stops test execution in VM machine

Follow  https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/in-minimized-window.htm... described steps to run tests with VM minimized.

 

refer https://support.smartbear.com/testcomplete/docs/testing-with/running/on-locked-computers.html

for running locked computers


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”


Extension Available

9 REPLIES 9
Occasional Contributor

Re: locking my local computer stops test execution in VM machine

I am having the same issue. In my case both are windows 10. getting same error.

Community Hero

Re: locking my local computer stops test execution in VM machine

Follow  https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/in-minimized-window.htm... described steps to run tests with VM minimized.

 

refer https://support.smartbear.com/testcomplete/docs/testing-with/running/on-locked-computers.html

for running locked computers


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”


Extension Available

Frequent Contributor

Re: locking my local computer stops test execution in VM machine

Thanks Shankar, 

Will the first option will work say if i lock my local machine with tests running on VM in background.

Thanks

 

 

Community Hero

Re: locking my local computer stops test execution in VM machine

It depends upon how your RDP connection is made.  Basically, there has to be an active user session with UI for TestComplete to do it's thing.  


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Community Hero

Re: locking my local computer stops test execution in VM machine

Since you're using VM to run your tests, It is good to have CI tools in place. I recommend to use Jenkins so that you don't need to worry about User active session/Locked screens.

 

To get started with this. https://support.smartbear.com/testcomplete/docs/working-with/integration/jenkins/index.html


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”


Extension Available

Frequent Contributor

Re: locking my local computer stops test execution in VM machine

Thanks for the recommendation, and we're looking into jenkins

Highlighted
Frequent Contributor

Re: locking my local computer stops test execution in VM machine

Thanks, is there any specific type of configuration that you recomment to the RDP connection to keep it active if if i'm away from my local machine? 

Community Hero

Re: locking my local computer stops test execution in VM machine

Maybe in your system power options, you may choose not to lock. But it depends on your machine. 

Another way(hack) is to run some sort of VBS file which has [pressing print screen 


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”


Extension Available

Frequent Contributor

Re: locking my local computer stops test execution in VM machine

Thanks  a lot.... do appreciate you looking into this

New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors