Skip to main content

Scheduling Tests

You can schedule tests to run automatically on machines where Test Services is installed.

  • A schedule can include one or more tests — all recommended tests, all available tests, or a user-selected subset.
  • In client/server environments, a schedule can target one or more machines: all machines, all instrument controllers, all clients, the server, or specific machines.
  • Tests run using the credentials of the user who created or last modified the schedule, unless a service user is configured. See Setting up credentials.
  • Creating, editing, and deleting schedules requires the Test Services Admin role.
  • Schedule creation, modification, and deletion are logged in the OpenLab Shared Services system log.
  • Once a schedule is set up, tests run whether or not you are logged in to Test Services.

Create a test schedule

  1. On the Test Services navigator, click the calendar icon to open the Test Schedules page.

    Figure 6. List of test schedules

    If no schedules exist, a blank form opens. If schedules exist, a list appears — click + Add to create a new one.

  2. The Set up Test Schedule form opens.

    Figure 7. Set up Test Schedule

  3. Type a schedule name.

  4. Optionally, type a description.

  5. From the Test Selection drop-down, choose what tests to run:

    • Run all tests — executes all available tests.
    • Run all recommended tests — executes all tests recommended for the target machine.
    • Run specific tests — opens a menu to select individual tests.
  6. From the Machine Selection drop-down, choose the target machines:

    • All machines
    • All Instrument Controllers
    • All Client Machines
    • Server Machine
    • Specific Machine(s) — lets you select individual machines.
  7. Click the calendar icon next to Schedule to set the timing.

    Figure 8. Set or change test schedule

    • Start at: click the calendar icon and select a date and time.
    • Randomize start times: starts the schedule randomly within 30 minutes of the selected time.
    • Repeat task: enables recurring execution. Select Hourly, Daily, Weekly, or Monthly and set the repeat interval.
      • Weekly: optionally select specific days of the week.
      • Monthly: optionally repeat by day of the month or day of the week.
    • End: select Never to run indefinitely, or On date to specify an end date.
    • Click OK to confirm the timing.
  8. Click Save to save the schedule.

Enable or disable a test schedule

  1. Click the calendar icon to open the Test Schedules page.
  2. Select one or more schedules from the list.
  3. Click Enable or Disable at the top of the page.

Change a test schedule

  1. Click the calendar icon to open the Test Schedules page.
  2. Locate the schedule and click its Edit button.
  3. Make changes using the same form described in Create a test schedule.

Delete a test schedule

  1. Click the calendar icon to open the Test Schedules page.
  2. Select the schedules to delete.
  3. Click Delete at the top of the page.
  4. Click Yes to confirm permanent deletion.