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
- Point to the Execution icon
(
), and click Create Execution Schedule.
The Create Execution editor opens.
- Click <Enter
New Execution Schedule Name>,
and type a name for the execution schedule.
- In Owner,
enter the name of the
person who is responsible for this execution schedule.
- Click <Click here to enter summary information>,
and type a description of the execution schedule.
- 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.
- To use a test cell to run the execution schedule,
click
the Select test cell icon (
). The Select
Test Cell window opens with a list of available test cells.
- Select the test cell you need, and click OK.
- In Steps, click the Add
step icon (
) 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
(
). 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.
- Click Save. The test execution schedule
is displayed in the View Execution Schedule editor. To open the editor,
point to the Execution icon (
), and click View Execution Schedules.