mgroen
11 years agoFrequent Contributor
How to unlock VM's in scheduled tests
I have created tests in TestComplete, and using the AutomatedTestingBridge I have linked them to QAComplete on softwareplanner.com
On softwareplanner.com I have created a schedule on specific time the test should start on the specific VM. When I am logged in the VM I can see that, when the scheduled time has arrived, TestExecute is initiated and the tests are started.
However, when I am not logged in the VM, the tests are not started, most probably because if you are not logged in the VM, the VM is in "locked mode" (you have to enter the password first, to unlock the VM), and this is exactly my problem. I want the tests to be run at night when nobody is logged in the VM. However when nobody is logged in the VM is in locked mode.
I do not know a way to add in my scripts a script to unlock a VM (record in keyword mode testing is not possible since you cannot run any application when it is locked).
What is the best approach to work with locked Virtual Machines, when working with keyword mode tests in TestComplete (TestExecute), in combination with the scheduling capabilities of QAComplete.
See attached screenshot for example of the locked screen I need to get rid of.
I hope somebody is able to give a workaround for this issue or good tips to tackle this issue.
On softwareplanner.com I have created a schedule on specific time the test should start on the specific VM. When I am logged in the VM I can see that, when the scheduled time has arrived, TestExecute is initiated and the tests are started.
However, when I am not logged in the VM, the tests are not started, most probably because if you are not logged in the VM, the VM is in "locked mode" (you have to enter the password first, to unlock the VM), and this is exactly my problem. I want the tests to be run at night when nobody is logged in the VM. However when nobody is logged in the VM is in locked mode.
I do not know a way to add in my scripts a script to unlock a VM (record in keyword mode testing is not possible since you cannot run any application when it is locked).
What is the best approach to work with locked Virtual Machines, when working with keyword mode tests in TestComplete (TestExecute), in combination with the scheduling capabilities of QAComplete.
See attached screenshot for example of the locked screen I need to get rid of.
I hope somebody is able to give a workaround for this issue or good tips to tackle this issue.