6.5 Manipulating Automation Schedules

You can create schedules for one or multiple Test Runs. Upon the scheduled time, automation agents will execute corresponding automation scripts on your automation host.

»Creating Schedules for a single Test Run

»Creating Schedules for multiple Test Runs

»Viewing Schedules of an agents

»Deleting Planned Schedules

»Job Status Transition Diagram

 

Important_icon.pngImportant: You can create schedules only if it meets all following conditions:

  • Automation Integration has been switched on.
  • An automation host has been registered and is currently online.
  • There is an active automation agent.

Creating Schedules for a single Test Run

Access to the detail page of an Automation Test Run. Click on Schedule button.

On the pop-up window that appears, choose your desired settings:

  1. Name: schedule's name.
  2. Agent: select your desired agent which will execute your automation scripts. Only agents which are online and active are listed out.
  3. Start time: you can either select the current date and time or specify future date and time.
  4. Recurrence: check it if you want to make it a repeating event.
  5. Repeats: select if the event will repeat every day, week or month.
  6. Repeat every ... days: Specify the interval (the number of days) between 2 events in a same series. It can be weeks or months depending on your selection of Repeats field.
  7. Ends: specify when the event stops repeating
    • Never: the event will not stop repeating.
    • After ... occurrences: the event will repeat x times before it stops.
    • On: specify a date after which the event will stop.
  8. Click on OK button to create the schedule.

button-round-warning-icon.pngHINT:

  • Even when you select to execute a Test Run immediately, you will need to wait until the next time the agent polls schedules from qTest and execute the tests.

Creating Schedules for multiple Test Runs

On a Test Suite's page, select some or all Test Runs.

Click on Schedule button.

button-round-warning-icon.pngHINT:

  • If you select manual Test Runs, they are excluded from the schedule.
  • You cannot create a schedule if no Automation Test Run is selected.

On the pop-up windows that appears, choose your desired settings:

  1. Name: schedule's name.
  2. Agent: select your desired agent which will execute your automation scripts. Only agents which are online and active are listed out.
  3. Start time: you can either select the current date and time or specify future date and time.
  4. Recurrence: check it if you want to make it a repeating event.
  5. Repeats: select if the event will repeat every day, week or month.
  6. Repeat every ... days: Specify the interval (the number of days) between 2 events in a same series. It can be weeks or months depending on your selection of Repeats field.
  7. Ends: specify when the event stops repeating
    • Never: the event will not stop repeating.
    • After ... occurrences: the event will repeat x times before it stops.
    • On: specify a date after which the event will stop.
  8. Click on OK button to create the schedule.

button-round-warning-icon.pngHINT:

  • Even when you select to execute a Test Run immediately, you will need to wait until the next time the agent polls schedules from qTest and execute the tests.

Viewing Schedules of an agents

button-round-warning-icon.pngHINT:

  • It is required that your account is granted with Manage Project Settings in order to view an agent's schedules

Under the Gear icon, click on Automation Settings and select tab Schedules.

On the left panel, all registered Automation Hosts, including Online and Offline ones, are listed out.

Select your desired host. You can see its information:

  1. Its IP and MAC addresses.
  2. Status: indicates whether the host is online or offline.
  3. Agents: list of the host's agents.

For each agent in the list, you can see its supported automation framework and whether it is active or inactive.

Select your desired agent to view its schedules.

By default, it shows schedules on the current date. You can change the date to view schedules on that date.

Deleting Planned Schedules

Schedules whose status is Planned can be deleted. Click on the Delete icon. There are 2 options:

  • Delete occurrence: only the selected item is deleted.
  • Delete series: the selected item and its following Planned events in the series are deleted. The historical events are retained.

Job Status Transition Diagram

Job status transition have to follow the diagram below: