Running TestComplete on Virtual machine even if the user is not logged on
Hi,
We have TestComplete installed on VM and have floating license activated on the same Virtual Machine. Now I will set up a task scheduler to run the automation tasks in the night even when the user is not logged in or not connected to Virtual Machine.
I manually tried starting the TestComplete project suite from Task Scheduler and disconnected the user session while the test was running, and then I reconnected after 5 mins to see , TestComplete was running still but it was not able to identify objects, mouse clicks was not happening.
Please help.
Think of it like this...
...would a real user be able to click on buttons, components, etc., if they are not logged in?
...would a real user be able to click on buttons, components, etc., if the workstation is "locked" with no visible UI interface?
The answer to those is obviously no... so, running tests on a workstation that is not logged in or disconnected will fail. Which is why you need to make certain configuration changes and such to make it work....
Start with this link and read through the various options.
https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/index.html