# Schedule your Execution

The Scheduler in SimplifyQA enables users to automate the execution of test cases and suites at predefined times without manual intervention. This feature enhances efficiency and ensures seamless execution, supporting continuous testing.

#### Navigating to the Scheduler&#x20;

To access the Scheduler:

1. Go to the User Navigation Panel.
2. Navigate to Test Execution > Scheduler.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2Fg5wBBCcAhsmugOagqOE2%2F0.jpg?alt=media&#x26;token=79abc31e-7305-47fe-93eb-272134ac748d" alt=""><figcaption></figcaption></figure>

In this module, you can create and manage all scheduled test executions.

### Creating a New Scheduler

To create a new Scheduler:

1. Click on the "**+ Scheduler**" button.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FAbTfTyWOkhU1KGD3Hmsx%2F1.jpg?alt=media&#x26;token=e692f6ba-b4da-40c9-8e1d-7a99a29ceacc" alt=""><figcaption></figcaption></figure>

2. A creation form will open, requiring the following mandatory fields:

* Name: Enter a unique name for the scheduler.
* Scheduler Type: Choose whether to execute a Test Case or a Suite.
* Version: Select a version (not applicable if executing a suite).
* Execution Type:
  * Choose between Local Execution or Cloud Execution.
  * Select Parallel Execution or Serial Execution.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2Fkks6nKMYV5GvAVpZ4H4Z%2F2.jpg?alt=media&#x26;token=17e8dc7d-d475-4e11-a692-8de45b3a49d5" alt=""><figcaption></figcaption></figure>

* Local Machine: Choose the machine where execution should occur.
  * Machines are indicated by Green (Active) or Red (Inactive) dots.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FlhKA3laO4zhetF49XCFR%2F3.jpg?alt=media&#x26;token=5c7afbb2-02dc-483d-ad64-4279df0b3807" alt=""><figcaption></figcaption></figure>

* Environment: Select the dataset to execute with the suite or test case.
* Release & Sprint: Assign the execution to a specific release and sprint.
* Select Execution Platform: Choose the appropriate execution platform:
  * If executing a Web Test Case, select the browser choice (Chrome, Edge, Firefox).
  * If executing a Mobile Test Case, select the device type (iOS or Android).
* Set Recurrence: Define the execution frequency:
  * Once
  * Hourly
  * Daily
  * Weekly
  * Monthly
* Set the Date and Time as required based on the selected recurrence.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FS9JAM9MIDcAaH6IBC8rV%2F4.jpg?alt=media&#x26;token=f27a5f6f-e236-4ead-bfe4-998f24ea4ca3" alt=""><figcaption></figcaption></figure>

### Monitoring Scheuler Execution

* The status of scheduled executions can be viewed in the Scheduler Module.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2F0Ub2WDbC5Jrsd4hMsLSw%2F5.jpg?alt=media&#x26;token=f36ab3db-3120-45f9-af13-85fb6614cc74" alt=""><figcaption></figcaption></figure>

Once executions are complete, view the history by:

* Clicking on “View Details”.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FUwPiQ4Anrlj6AzQgaqeF%2F6.jpg?alt=media&#x26;token=3ccea5f3-2fca-4929-aef7-fa1b7c5c732a" alt=""><figcaption></figcaption></figure>

* Navigating to the Execution History tab.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FQzL1nAkXIdZyuxe2hv66%2F7.jpg?alt=media&#x26;token=8a6ec26c-e1f0-467c-9f05-5a8c999a6f29" alt=""><figcaption></figcaption></figure>

* Here, all past executions are listed, and reports can be accessed by clicking on the Execution ID.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FiJf7IdBwI3GDl5fgGXte%2F8.jpg?alt=media&#x26;token=e26af8e8-2fd6-40f3-abbe-8e1d2e8220b4" alt=""><figcaption></figcaption></figure>

### Managing Scheduled Executions

#### Modifying a Scheduler

* In the Details tab, you can update any scheduler settings, including recurrence frequency.

#### Stopping a Scheuler

* Click on "**Cancel Scheduler"** to stop the execution.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FYLGKfsLqmOa270MQoX7V%2F9.jpg?alt=media&#x26;token=43c8b8ca-2a90-420a-beae-9b209dc25b68" alt=""><figcaption></figcaption></figure>

* The scheduler can be restarted anytime by clicking "**Restart Scheduler".**

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2F7PL5fsYwlLx3XSp0vqsD%2F10.jpg?alt=media&#x26;token=4b87f65b-0323-447b-85a8-ab6821984c10" alt=""><figcaption></figcaption></figure>

* Ensure that any changes made to the scheduler are saved before exiting.

#### Deleting a Scheduler

To delete a scheduler:

* Select the checkbox next to the scheduler you wish to delete.
* The Delete option will becomes available in the top-right corner.
* Click Delete to remove the scheduler permanently.

<figure><img src="https://2640723101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMxErCxeVwmOt7GY9s22U%2Fuploads%2FQsHOXocEI38XXEy3JAmh%2F11.jpg?alt=media&#x26;token=fb0fe032-7ca6-4833-ba71-b6e0ad0360a4" alt=""><figcaption></figcaption></figure>

The scheduler in SimplifyQA simplifies test execution management by automating test case and suite execution. By leveraging scheduling features, teams can improve efficiency, maintain consistent test coverage, and streamline their testing process.
