Scheduler

Overview

The Scheduler module in TestOps enables teams to automate the execution of test cycles at specific dates and times. This functionality eliminates the need for manual triggering and ensures consistent and timely test execution, especially during off-peak hours or outside business hours.

Purpose of the Scheduler

  • Eliminate manual test cycle execution.

  • Automate test execution based on predefined schedules.

  • Improve test coverage during off-hours and increase release efficiency.

Key Features

  • Scheduler Name: Displays the name of the scheduler.

  • Test Cycle name: Shows the test cycle selected during scheduler creation.

  • Total suites: Indicates the number of test suites in the selected cycle.

  • Scheduler start & Estimated completion time: Displays when the test cycle will start and the estimated time of completion.

  • Frequency: Displays the selected recurrence pattern (Once, Daily, Weekly, Monthly).

  • Created by: Displays the name of the user who created the scheduler.

  • Time zone: Displays the selected time zone during creation (country/location).

  • Yes/No Toggle: Allows toggling a schedule between active and inactive states without deleting it.

  • Search: Use keywords (e.g., project name, scheduler name) in the search bar to locate schedules quickly.

  • More options Menu:

  • Edit: Modify scheduler details like test cycle, frequency, or scheduled date/time.

  • Delete: Permanently remove the scheduler (confirmation required).

Viewing Scheduled Runs:

Navigate to the Scheduler Dashboard to:

  • View both upcoming and past scheduled runs.

  • Access details such as execution status, timestamps, and associated test cycles.

Creating a New Schedule

Note: Only automated test cycles can be scheduled. Ensure your test scripts and environments are properly configured.

Steps to Create a Schedule:

  • Navigate to the Scheduler module.

  • Click the Create button on the Scheduler Dashboard.

  • Fill in the required fields:

    • Select Project from the dropdown menu

    • Set the preferred Date and Time

    • Choose Recurrence Pattern: Once, Daily, Weekly, or Monthly.

    • Optionally add any comments or metadata.

  • Save: Click Save Schedule to confirm.

  • Cancel: Use Cancel to exit without saving.

  • Go Back: Use the Go Back button to return to the previous screen.

Note: You can schedule only one test cycle at a time. To schedule multiple test cycles, repeat the above process.

Modifying a Scheduled Test Cycle

  • Go to the Scheduler Dashboard.

  • Click on the test cycle link within the scheduler list.

  • You'll be directed to the test cycle page to make changes.

Scheduled Test Cycle Execution

During the Test Cycle Execution process, users will receive automated email notifications based on the status of the cycle mentioned below.

  • When a test cycle is initiated successfully.

  • When a test cycle completes execution for successful and failed.

System Downtime and Failure Handling

  • If the system is down during the scheduled time, the test cycle will not execute.

  • Users will receive an email notification for failed or missed executions.

  • Scheduled runs do not retry automatically on failure. Manual intervention is required.

Best Practices

  • Schedule test cycles during low-traffic hours to avoid resource contention.

  • Regularly review and clean up old or irrelevant schedules.

  • Use naming conventions in schedules for easier management and searchability.

Last updated