Creating and viewing test execution schedules

An execution schedule is a series of tasks, or steps, that can be run sequentially at a scheduled time. An execution schedule can also be tasks that run when they are triggered by an event such as a build completion. Execution schedules are reusable. You can direct that schedules run at specified times or have events trigger schedules. You can also select the machines or test cells on which to run the schedules.

About this task

To create an execution schedule:

Procedure

  1. Point to the Execution icon (Execution), and click Create Execution Schedule. The Create Execution editor opens.
  2. Click <Enter New Execution Schedule Name>, and type a name for the execution schedule.
  3. In Owner, enter the name of the person who is responsible for this execution schedule.
  4. Click <Click here to enter summary information>, and type a description of the execution schedule.
  5. In Overview, select an event to initiate the execution schedule from these options:
    • Date and time: Select this option to enter a date and time to run the execution schedule.
    • Build completion: Select this option to initiate the execution schedule when a notification is received that a product build is complete and ready for testing. In Select build, enter the name of the build definition for the build to initiate the execution schedule. In Start execution schedule based on build status, enter the build status that is required to run the execution schedule.
  6. To use a test cell to run the execution schedule, click the Select test cell icon (Test cell). The Select Test Cell window opens with a list of available test cells.
  7. Select the test cell you need, and click OK.
  8. In Steps, click the Add step icon (Add) to create the steps of the execution sequence. You can use one or a combination of any of the types of steps that are described here.
    • Select Add Test Suite to add test suites to a run. A list of available test suites is displayed. Select one or more test suites, and click OK. Each test suite that you selected is displayed as a step.
    • Select Add Test Execution Record to add test execution records to run. A list of available test execution records is displayed. Select one or more test execution records, and click OK. Each test execution record that you select is displayed as a step.
    • Select Automation to add automated scripts to run and to select the lab resources on which to run the scripts. A list of available automations and lab resources is displayed. Select one or more automations and lab resources on which to run scripts, and click OK. Each automation that you selected is displayed as a step. To edit script parameters, click the Edit icon (Edit). The Properties window opens and displays all the script properties. Edit the properties as needed, and then click OK.
    When you select a step, details about the step are displayed.
  9. Click Save. The test execution schedule is displayed in the View Execution Schedule editor. To open the editor, point to the Execution icon (Execution), and click View Execution Schedules.

Feedback