Forum Discussion
In Task Scheduler, what are the settings shown for General and Actions tabs, for your task?
What's the exact command you are using for TestExecute (and also version)?
Is it a desktop or web application?
Do you have an active connection, when running the task? I.e. the computer must not be locked and the user must be logged into the machine.
C:\Health_Check\Health_Check\config\Mg_Ch_TestExecute.bat
Version: 15.58.9.11 x64
Its a web application
Do you have an active connection, when running the task? I.e. the computer must not be locked and the user must be logged into the machine.
Do you mean i have to completely exit from all other apps runing and lock the computer at the time the task is runing.
- rraghvani8 months agoChampion Level 3
What's the exact commands in Mg_Ch_TestExecute.bat?
Do you mean I have to completely exit from all other apps running and lock the computer at the time the task is running - no.
- FFCB8 months agoContributor
start "health Check Automation" /wait "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin\TestExecute.exe"
"C:\Automation\Health_Check\Health_Check.pjs" /r /p:Health_Check /t:"KeywordTests|Health_Check_Suite"
/ErrorLog:Health_Check_TextExecute_Results /exit /SilentMode /ns- rraghvani8 months agoChampion Level 3
Can you create a separate batch file that contains only this,
"C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin\TestExecute.exe" C:\Automation\Health_Check\Health_Check.pjs /p:Health_Check /run /exit /DoNotShowLog /t:"KeywordTests|Health_Check_Suite" /ErrorLog:"C:\Automation\index.html"
Run the batch file as normal, to test that it works. You should get results file in "C:\Automation\index.html".
You might have to change the parameters for /t:"KeywordTests|Health_Check_Suite".
Once you get the above working, you should then be able to get your Task Schedule to work.
Related Content
- 12 years ago
- 7 years ago
- 9 years ago
Recent Discussions
- 6 days ago
- 6 days ago
- 9 days ago