Ask a Question

Running reoccuring TestComple Schedule Tasks on locked computer


Running reoccuring TestComple Schedule Tasks on locked computer

Are there any suggestions or best practices on how to successfully run TestComplete web tests from the Windows 7 Task Scheduler once the machine has locked?


My tests run fine as long as the machine is unlocked.  I understand that this may be Windows behavior issue but I am hoping that the community can suggest a workaround besides leaving the computer unlocked.




Frequent Contributor

We have the same problem when running via Remote Desktop with either TestComplete or TestExecute.


We found that by running Remote Desktop and not locking that screen we can lock the screen of the PC that is running the Remote desktop. However you need to make sure that the remote will not go into lock mode.


I also played with a trial version of QAComplete which can run remote sessions or TC/TE on a locked computer.

Community Hero

You always have to have an active unlocked user session to run tests. 


Click the Accept as Solution button if my answer has helped
Esteemed Contributor

@cunderw is correct. A lot of TestComplete's stuff it does requires the ability to interact with the UI. If the UI is inaccessible due to the VM being locked, the test cannot run.

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
Showing results for 
Search instead for 
Did you mean: