Forum Discussion
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.
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
- rraghvani1 year ago
Champion 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.- FFCB1 year agoContributor
Not clear what parameter to be chaged for
/t:"KeywordTests|Health_Check_Suite".
- rraghvani1 year ago
Champion Level 3
I don't use keyword tests, so adjust the parameter that works for you.
- FFCB1 year agoContributor
this is howi am trying to run
start "C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin\TestExecute.exe" C:\Automation\Health_Check\Health_Check.pjs" /run /exit /t:"KeywordTests|Health_Check_Suite" /ErrorLog:"C:\Automation\index.html"
please correct if me, if it's incorrect
- rraghvani1 year ago
Champion Level 3
That's not the same, as what I have written.