Thursday 4 December 2014

Schedule Automation Test Suite on a Windows Machine



Schedule Test on a Windows Machine

There may be a need to run your test unattended at night, or run your scripts daily/weekly at certain time. These types of tasks can be scheduled through “Task Scheduler” in windows. Below are easy steps to schedule various tests in your machine.

1.      Firstly create a batch file for theautomation task. 

2.      Go to Start Menu—All Programs—Accessories—System Tools—Task Scheduler.

 


3.      A new screen of Task scheduler will open. Click on “Create Basic Task”.  

 


4.      Go through the windows wizard and select the .bat file to be run and schedule the test timings. Eg : Whether to be run daily or weekly or on a specified date/time.  

 

 


5.      In this way a Task can be scheduled. There are various build tools available in market like Hudson, Jenkins etc, which can be used to schedule tests.  

No comments:

Post a Comment