Forum Discussion

Ravikaanth's avatar
Ravikaanth
Contributor
2 years ago

Can't trigger TestExecute through Task Scheduler

I am trying to trigger TestExecute by using a .bat file through Task Scheduler. When I try trigger .bat file manually TestExecute triggered successfully. But if I try to trigger by using Task Schedul...
  • rraghvani's avatar
    2 years ago

    I've just ran the same, these are the results. Also, TC has generated log files too.

    My batch file has only this command,

     

     

    start "TestExecute" /wait "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin\TestExecute.exe" "C:\Sandbox\TestComplete\Project Flow\Project Flow.pjs" /run /exit /DoNotShowLog /project:"TestProject2" /ExportLog:"C:\Sandbox\Log\TestProject2\index.html"

     

     

    And task schedular

     

     

    How are you running your Task? Is this on your local machine?