# Test Sets

* [Creating a Test Set](#creating-a-test-set)
  * [Required Fields](#required-fields)
  * [Optional Fields](#optional-fields)
* [Editing a Test Set](#editing-a-test-set)
* [Cloning a Test Set](#cloning-a-test-set)
* [Deleting a Test Set](#deleteing-a-test-set)
* [Executing a Test Set](#executing-a-test-set)

Test Sets allow the user to save test execution configurations for groups of Test Scripts in a Test Suite

**NOTE** ***Visual Testing*** and ***Schedule Test*** are not supported with Test Sets

## Creating a Test Set

Test Sets are found within a Test Suite.

1. Navigate to the Mobility Project Details page
2. Click on ***Test Sets*** tab, next to the Test Scripts tab.
3. If no Test Sets exists, click on the *"Begin with a Test Set"* button

![New\_Test\_Set](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-3327947bd24ce4cce2c32933e4068baf7311c5b6%2FNewTestSet.png?alt=media)

### Required Fields

4. Enter in a Name for the Test Set
5. Click on the checkbox to select which scripts to be saved in the Test Set
6. Select Application configuration
   * If ***Install App*** is selected, click the dropdown and select an uploaded application file. If there is no file available, please navigate into **Setup → Application Management** and upload an IPA or APK file.
     * Click the ***App Activity*** dropdown and select an app activity.
   * If ***Launch App*** is selected, the user must enter the correct app activity and app package into the input fields

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-94640fda8d14fb5c2ecf0de8e13d3cd1b75fe842%2FTestSet1.png?alt=media)

7. Select a Single Device or click the checkbox and select a **Device Pool**
   * More information can be found [***here***](https://docs.qyrus.com/mobile-testing/execution/execution#selecting-your-device)
8. Select an Execution Strategy
   * More information can be found [***here***](https://docs.qyrus.com/mobile-testing/execution/execution#execution-strategy)
9. Click ***Save Changes*** to save the Test Sets

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-86fbdfdfbcd7228e199d76d3f1543d7c514b92fc%2FTestSet2.png?alt=media)

### Optional Fields

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-fc55d4307760b6f6160d6e8aed6756425273378e%2FTestSet3.png?alt=media)

#### Database Configuration

When using the [***Execute Query***](https://docs.qyrus.com/mobile-testing/build/actiontypes#execute-query) action type, the user must select a database from the dropdown. More information regarding database configuration setup can be found [***here***](https://docs.qyrus.com/mobile-testing/advanced-features/data-management/database-connectivity).

**Email**

If the user needs to send an email of test execution reports, toggle this to active and enter an email into the respective input field.

#### Reset App

Togging ***Reset App*** will reset the app storage and cache of the application

#### OTP

If the user’s test script is using the action type [***Verify Otp***](https://docs.qyrus.com/mobile-testing/build/actiontypes#verify-otp), toggle this value to active.

#### Healer

Healer is an AI tool that is used to help find a new locator for a failed step in a test execution. Healer does require a passing baseline to find a new locator for the failed test step.

## Editing a Test Set

User can select an existing Test Set and edit its configuration.

1. Navigate to the Mobility Project Details page
2. Click on ***Test Sets*** tab, next to the Test Scripts tab.
3. Select the Test Set that the user wants to edit.
4. Make the needed changes then click the ***Save Changes***.

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-f16b8316d1b99df92f0c1c61f074190e5bcf10d7%2FEditTestSet.png?alt=media)

## Cloning a Test Set

User can clone a selected Test Set to make a duplicate/copy.

1. Navigate to the Mobility Project Details page
2. Click on ***Test Sets*** tab, next to the Test Scripts tab.
3. Select the Test Set the user wants to clone
4. Click the **Three Dots** and select the **Clone** option.
5. A green success Toast will appear on success

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-f619c659b5dcb24c4770b114e1aadf2fe7a56b36%2FTestSetCloneButton.png?alt=media)

## Deleteing a Test Set

User can delete a Test Set.

1. Navigate to the Mobility Project Details page
2. Click on ***Test Sets*** tab, next to the Test Scripts tab.
3. Select the Test Set the user wants to delete

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-8944ac30c9079ff3987381dab4300d6083068ecb%2FTestSetDeleteTest.png?alt=media)

4. Click the **Three Dots** and select the **Delete** option.

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-f619c659b5dcb24c4770b114e1aadf2fe7a56b36%2FTestSetCloneButton.png?alt=media)

5. Click ***Yes*** on the confirmation prompt

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-cd82831599a99ff1db8765bfcd3aeaf111a5c7c6%2FTestSetDeleteModule.png?alt=media)

6. A green toast message will appear on successfully deletion.

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-f321ceb81e2c52e286c9db44ce011eb4613fd2c6%2FTestSetDeleteSuccess.png?alt=media)

## Executing a Test Set

User can execute a Test Set. All scripts within the selected Test Set will be executed with the saved configuration.

1. Navigate to the Mobility Project Details page
2. Click on ***Test Sets*** tab, next to the Test Scripts tab.
3. Select the Test Set the user wants to execute test on
4. Click the ***Execute*** then the ***Execute Test Set*** button

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-60eb92322082a5894aaf0281e6097ea4b5718609%2FTestSetExecuteButton.png?alt=media)

5. A success toast message will appear when the Test Set has been added to the Test Execution Queue.

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-0a454dd0dcbab829e786ffb725c977ec817a7e05%2FTestSetExecuteSuccess.png?alt=media)

An error toast message will appear when Invalid Test Script(s) or Configurations are detected within the Test Set for execution. Valid Test Scripts in the Test Set will still be added to the Test Execution Queue.

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-1bedcf6b7bedbf25968330b106cb2499718968c0%2FTestSetExecutionError.png?alt=media)

6. Test Scripts that have been selected within the Test Set will appear individually within the "Running Tests" tab within the **Reports** Section.

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-eafcf240ef2f9d7b518b19c39400a6d6cf569f5a%2FTestSetRunningTests.png?alt=media)

7. After execution, the results of each Test Script within the selected Test Set will appear individually within the "Results" tab of the **Reports** section.

![](https://3407579843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHgmf0zEqt232nyShGOTi%2Fuploads%2Fgit-blob-759e94f1be5f17597ba7dcdcf6ba434d8d7b09fb%2FTestSetExecutedTestResults.png?alt=media)
