# Execution

## Executing

## Test Execution

There are two ways of executing your tests with Qyrus

1. Suite Execution
2. Script Execution

### Suite Execution

A suite execution will perform an execution on every script inside of the selected suite. Qyrus also allows the user to execute multiple suites at once. To run a single suite or multiple test suites, the user must first navigate into a project, check the suites to execute, click on the ***Execute*** button, and finally, select ***Execute Run***.

![Execute\_Button](/files/sj8TpnKh5DQJx94aARbq)

### Script Execution

The user has the option to perform a single script execution or multiple script executions at once.

#### Single Script Execution

To run a single script execution, the user must first go into a project, navigate into a test script, click on the ***Execute*** button, and finally, select ***Execute Run***

![Execute\_Run\_Button](/files/p0n1EJRxKTA4XaVuzbdI)

#### Multiple Script Executions

To execute multiple scripts, the user must first navigate into a project, check the scripts to execute, click on the ***Execute*** button, and finally, select ***Execute Run***.

![Execute\_Run\_Multiple\_Scripts](/files/8uGyA5wNch84wtuFHrh3)

## Dry Run

Executing a test as a dry run will display pass/failed results but the results do not appear in the overall test reports. Dry run executions can be done with both suites and scripts.

### Suite Dry Run

A suite dry run will perform a dry run on every script inside of the selected suite. Qyrus also allows the user to perform a dry run multiple suites at once. To perform a dry run on a single or multiple test suites, the user must first navigate into a project, check the suites to perform a dry run, click on the ***Execute*** button, and finally, select ***Dry Run***.

![Suite\_Dry\_Run](/files/tPVYpyyIucvtnW2PsK19)

### Script Dry Run

The user has the option to perform a single script dry run or multiple script dry runs.

#### Single Script Dry Run

To perform a single script dry run, the user must first go into a project, navigate into a test script, click on the ***Execute*** button, and finally, select ***Dry Run***

![Single\_Script\_Dry\_Run](/files/aAFVaRKXWfburk1DPbbl)

#### Multiple Script Dry Run

To execute multiple script dry runs, the user must first navigate into a project, check the scripts to execute, click on the ***Execute*** button, and finally, select ***Dry Run***.

![Multiple\_Script\_Dry\_Run](/files/f2MIdLrNu3Ez69FTuIiJ)

## Required Fields

After clicking on the ‘Execute’ button and either selecting ***Execute Run*** or ***Dry Run***, the user will be navigated to a similar page like below.

**Note:** When selecting ***Dry Run***, the advanced options will not appear

![Execution\_Required\_Fields](/files/7FfPigPeM4dAb5RXFWvQ)

The required fields in this form are the following:

1. Selecting the application
2. Selecting the device

![Select\_App\_and\_Device](/files/fLQ29RmNZ7lEZxDg1FXM)

### Selecting your application

When selecting your application for execution, the user has two different options

1. Install App
2. Launch App

#### Install App

If the app is not already installed on the device, the user **must** select this option to continue with their execution. To execute your test via the Install App, click on the dropdown and choose an IPA or APK file. If there is no file available, please navigate into **Setup → Application Management** and upload an IPA or APK file.

![Execution\_Install\_App](/files/a0tr9vUcrjlyMa51i49g)

#### Launch App

Launch app can only be used if the application is already installed on the device. If the application is installed on the device, the user must select the ***Launch App*** toggle and enter the correct app activity and app package into the input fields

![Execution\_App\_Activity](/files/uUh0bmFCNc08VGcYuIEq)

### Selecting your device

**Note:** When selecting your device for execution, no other user must be using the device at that time. If another user is connected to that device, your test will be put in a queue and not begin execution until that device is no longer being used by another user.

The user has two different options when selecting an execution device.

1. Selecting a single device
2. Selecting a device pool

#### Single device

When the user clicks on the ***Select Device*** dropdown, every device configured to the user’s account will appear as a selectable option for execution.

![Execution\_Select\_Device](/files/PAwdkPknnrCPjg4aKvhs)

#### Device pool

Selecting the ***Use device pool*** checkbox will change the items in the dropdown list from single devices to all of the user’s created device pools. After selecting a device pool, the execution will run on every device in that pool. If the user has no device pools but wishes to set one up, please navigate to **Setup → Device Pool** and then select the ***New Device Pool*** button.

![Execution\_Device\_Pool](/files/Ug4pokLohLRVP9MSLl8r)

### Execution strategy

The user has 2 options as to how they want to allocate their devices for execution:

1. First Available
2. Device Coverage (Default)

This selection will determine how many executions are triggered as denoted by the total test reports generated section.

![Execution\_Strategy](/files/vOgSDyaEWR9cPxSuEHs4)

#### First Available

Each test will be executed once. Priority is given to selected device(s) with the least number of tests in their queue. Using this strategy without a device pool, the first available device the user has access to will be chosen to execute each test. If a device pool is selected, the first available device in the pool will be used to run each test.

![Execution\_Strategy\_First\_Available](/files/qQppNRVjiOWwhiyoQcEX)

#### Device Coverage

Each test will execute on all selected device(s). Using this strategy without a device pool, each test will be executed on the selected device. If a device pool is selected, each test will be executed on all of the devices in the pool. Therefore, the number of executions triggered would be equal to number of tests selected \* number of devices selected.

![Execution\_Strategy\_Device\_Coverage](/files/0M5t2GU9ba6WOUcXeJKw)

## Optional Fields

The following fields are all optional to run an execution

![Execution\_Optional\_Fields](/files/2Ibj4rKAXN8XlvuV5Xoz)

### Reset App

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

### 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.

### OTP

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

### 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.

## Advanced Options

**Note:** If performing a dry run, the advanced options will not appear

Click on the plus icon next to ***Advanced Options*** and two more tabs will appear with the following options:

1. Schedule Execution
2. Database Configuration

![Execution\_Schedule\_Run](/files/mNSLF4Npdu9i0kjfZoDZ)

### Schedule Execution

After toggling on ***Schedule Execution***, the user will have options to do the following:

1. Schedule Once
2. Schedule on repeat

#### Schedule Once

To schedule a test once, the following is required

1. Start date
2. Time zone
3. Time

![Execution\_Schedule\_Once](/files/r670FIAFuCwRtZgqs4V9)

#### Schedule Repeat

Scheduling a repeating test can be done weekly, daily, or hourly

**Weekly**

The required fields for scheduling a weekly execution are the following:

1. Days
2. Time
3. Time zone
4. End date

![Execution\_Schedule\_Weekly](/files/lzzkOqcbGDmeMARfP5Kz)

**Daily**

The required fields for scheduling a daily execution are the following:

1. Time
2. Time zone
3. End date

![Execution\_Schedule\_Daily](/files/q1RVlZumdY1gIPrhIjDZ)

**Hourly**

The required fields for scheduling an hourly execution are the following:

1. End time
2. Time zone
3. End date

![Execution\_Schedule\_Hourly](/files/EzdnAlFLktKZMsuwY1G8)

***Note: Failed scheduled tests will be retried automatically once.***

### Database Configuration

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

![Execution\_Database\_Configuration](/files/iLugZC1OvDh1peGuDpIG)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.qyrus.com/mobile-testing/execution/execution.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
