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?
Solved! Go to Solution.
Follow https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/in-minimized-window.htm... described steps to run tests with VM minimized.
for running locked computers
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.
[Hall of Fame]
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
Vegas Thrill Rider
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, 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?
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