Schedule a Test Suite/Test Case

Last modified: November 19, 2024

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:

Scheduling Test Cases

The following steps explain how to schedule test cases:

  1. Open your project in ATS and go to the Schedules tab in Test Run.

  2. Click Schedule test case to schedule a test case:

    Clicking Schedule test case opens the Select Test Case dialog box:

  3. Click the test case you want to schedule. To search for the test case, you can use the Search button.

  4. Click Select. Selecting a test case opens the New Schedule dialog box:

  5. 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
  6. 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
  7. Set the desired Platform Settings:

    • Platform - Set platform on which to run the test
    • Resolution - Set resolution with which the test is run
  8. 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:

  1. Open your project in ATS and go to the Schedules tab in Test Run.

  2. Click Schedule test suite to schedule a test suite:

    Clicking Schedule test suite opens the Select Test Suite dialog box:

  3. Click the test suite you want to schedule. To search for the test suite, you can use the Search button.

  4. Click Select. Selecting a test suite opens the New Schedule dialog box:

  5. 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
  6. 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
  7. Set the desired Platform Settings:

    • Platform - Set platform on which to run the test
    • Resolution - Set resolution with which the test is run
  8. 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.