locking my local computer stops test execution in VM machine
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having the same issue. In my case both are windows 10. getting same error.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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”- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Shankar,
Will the first option will work say if i lock my local machine with tests running on VM in background.
Thanks
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
[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
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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”- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the recommendation, and we're looking into jenkins
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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”- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot.... do appreciate you looking into this
