Forum Discussion

francisco_garci's avatar
francisco_garci
Occasional Contributor
7 years ago

Scheduler Test

Helo

 

I have problem to run the test with windows task shceduler. Scheduler to run everuday for 30 minutes, but the system not run and  not open the testcomplete and leave the session locked 

1 Reply

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Is the system locked when the task kicks off?  If so, this might be the source of your problem.  You need to have a logged in, unlocked desktop in order to run most tests that TestComplete executes.  If the tests do not interact with the UI at all (such as tests against an API, windows service, web service, etc), then having a locked machine is not a problem.  But I believe the workstation does need to at least be logged in.

     

    Could you give us more information to be able to help you better?  What does your windows task look like? What command line parameters are you using? How is the task configured regarding what user to run under, etc?