Forum Discussion

JD2775's avatar
New Contributor
3 years ago

Executing Test Complete on VM while not logged on

I am working off of a VM that is running 24/7.  I have all my Test Complete projects located there.  I have a batch file that I just click on and it executes all my projects one after another with just a click of the button. 


What I want to have is to set up a Windows task scheduler so the batch file can be kicked off without me even having to be logged in.  I tried to set this up in Task Scheduler, to schedule for a time I was logged off, and the tests all executed but all failed with "the operation cannot perform because the user session is non-interactive". 


Am I stuck here because these are all Desktop apps I am testing, and I need to be logged in every time?   Does anyone know a way around this? 

5 Replies