Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the below batch script,

  1. we have added `–-debug=true` to enable the debug mode of vrunner command
  2. we have also redirected the vrunner command standard output and error to

...

  1. a log

...

  1. file. This will help in debugging if anything goes wrong while executing test cases using vrunner.
Code Block
titleBatch Script
set mydate=%date:/=_%
set mytime=%time::=_%
set mytimestamplogFileName=%mydate: =_%_%mytime:.=_%

"C:\Users\John Doe\Desktop"\vrunner_win_0_3_7_x64.exe --debug=true --email="john.doe@example.com" --password="johndoe" --url="https://vrest.io/i/demo/g/testcase?projectId=549550cb68e831540bd849b1&versionIds=54d86e3a4908a5a106e6243f" 1> "C:\Users\John Doe\Desktop\vrest_process_logs"\%mytimestamp%%logFileName%.log 2>&1

Step 4: Integrate this batch script in Windows Task Scheduler

...