Schedule a Test Suite/Test Case
Introduction
Scheduling allows you to plan the execution of test cases and test suites at defined dates and times. Scheduling tests can be useful for the following:
- Running tests during the night
- Investigate when the software runs slower
- Constant reassurance that some feature works
This how-to teaches you how to do the following:
- Schedule test cases
- Schedule test suites
Prerequisites
Before starting this how-to, make sure you have completed the following prerequisites:
- Complete How to Get Started
Scheduling Test Cases
The following steps explain how to schedule test cases:
-
Open your project in ATS and go to the Schedules tab in Test Run.
-
Click Schedule test case to schedule a test case:
Clicking Schedule test case opens the Select Test Case dialog box:
-
Click the test case you want to schedule. To search for the test case, you can use the Search button.
-
Click Select. Selecting a test case opens the New Schedule dialog box:
-
Set the desired Schedule Test Settings:
- Active - Activate/Deactivate the event
- After - Set time when event is first run
- Repeat – Repeat/Not repeat the event
- Every - Set interval to repeat the event
-
Set the desired General Settings:
- Environment - Set application on which to run the test
- Selenium Hub - Set Selenium hub on which to execute the test
- Browser - Set browser in which to run the test
-
Set the desired Platform Settings:
- Platform - Set platform on which to run the test
- Resolution - Set resolution with which the test is run
Platform Settings are not visible for all Selenium hubs. -
Click Save:
Clicking Save adds the test case to the list of scheduled items. Click Edit () to change the settings (1). Click Delete () to delete the scheduled test case (2):
Scheduling Test Suites
The following steps explain how to schedule test suites:
-
Open your project in ATS and go to the Schedules tab in Test Run.
-
Click Schedule test suite to schedule a test suite:
Clicking Schedule test suite opens the Select Test Suite dialog box:
-
Click the test suite you want to schedule. To search for the test suite, you can use the Search button.
-
Click Select. Selecting a test suite opens the New Schedule dialog box:
-
Set the desired Schedule Test Settings:
- Active - Activate/Deactivate the event
- After - Set time when event is first run
- Repeat – Repeat/Not repeat the event
- Every - Set interval to repeat the event
-
Set the desired General Settings:
- Environment - Set application on which to run the test
- Selenium Hub - Set Selenium hub on which to execute the test
- Browser - Set browser in which to run the test
-
Set the desired Platform Settings:
- Platform - Set platform on which to run the test
- Resolution - Set resolution with which the test is run
Note: Platform Settings are not visible for all Selenium hubs.
-
Click Save:
Clicking Save adds the test suite to the list of scheduled items. Click Edit () to change the settings (1). Click Delete () to delete the scheduled test case (2):
Next Up
You now learned how to schedule test cases and test suites. The next how-to is How to Mask Your Password. You find an overview of all the how-tos and the structure on the ATS 2 How-tos page. We advise you to follow the predefined structure.