# Configuring and Executing Test cases

**Configuring and Executing** Test cases in Avo Assure requires a streamlined approach to ensure efficient test outcomes. As an initial step, user must configure the execution list with the appropriate settings, including test case selection, integration preferences, and defect management options. After the configuration is complete, user can proceed with executing the test cases, allowing Avo Assure to generate detailed reports.&#x20;

#### **To configure and execute Test cases,** perform the following actions:                                                  &#x20;

1. Create **Execution List** in **Execution** tab.&#x20;

{% hint style="info" %}
**Note:** To create execution list, refer the link: [Working with Execution section](https://docs.avoautomation.com/working-with-the-avo-assure-platform/create-and-execute-tests-with-design-studio/working-with-execution-section)
{% endhint %}

2. Expand **Test Management tool** option and select **Zephyr Scale** as Test management tool.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FYoVZiipgO1Gf1yiOQ7LG%2Fimage.png?alt=media&#x26;token=fe7e41d5-879a-4b82-8913-948faeb6df99" alt=""><figcaption></figcaption></figure>

3. Select **Zephyr Scale Project** from the dropdown.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FAyn1TsPKvXDMgYgYwvYZ%2Fimage.png?alt=media&#x26;token=3f551730-8094-41d5-b700-d9a057677ee5" alt=""><figcaption></figcaption></figure>

4. Search and select Zephyr Scale **Test Cycle** and Click **Save** button.&#x20;

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FpXAveeC8y1KWfozBcRBP%2Fimage.png?alt=media&#x26;token=ecd3b686-658b-4f9b-8365-0f8bd5ba63f6" alt=""><figcaption></figcaption></figure>

#### **To create a Test Cycle, perform the following actions:**

This feature can be used when the required **Test Cycle** is not present in the Zephyr Scale Project, then   user can create new Zephyr Scale Test Cycle, by clicking **Create Test Cycle** button, present in the Zephyr Scale popup window&#x20;

1. Provide **Test Cycle Name** in the textbox.&#x20;
2. Click **Create Cycle** button to create new Test Cycle in Zephyr Scale Project.

{% hint style="info" %}
**Note:** This **Test Cycle** will be linked to Test case in zephyr scale while execution.
{% endhint %}

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FzqVgdOqL1niuDsEEEmcA%2Fimage.png?alt=media&#x26;token=f2274bf0-36fd-4658-a495-0625c919d5e0" alt=""><figcaption></figcaption></figure>

3. Once the **Test Cycle** is created, it appears in the dropdown, and the user can select it for execution.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FHMtVZZWI6Oj8DUcKEdyr%2Fimage.png?alt=media&#x26;token=0b0d8583-2bbf-4156-b43f-51c494460aea" alt=""><figcaption></figcaption></figure>

4. Click **Save** button in the top-right pane of the **Execution** window to save the configuration.&#x20;

{% hint style="info" %}
**Note:** User can also create defect when Test Step Fail at the time of execution by enabling **Auto defect Toggle** button. [Learn more](https://docs.avoautomation.com/integrations-in-avo-assure/jira-integration/auto-defect-creation)
{% endhint %}

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FYT4DjQZzGEqboHJuCCiz%2Fimage.png?alt=media&#x26;token=676792b5-3b5e-449a-b578-6f2051279dcd" alt=""><figcaption></figcaption></figure>

5. After user complete the configuration, select the **parent folder**, and then select **Execute** button. **Execute Now** pop-up window opens.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FLv9zVMWEWxPV7UdWXapV%2Fimage.png?alt=media&#x26;token=da8cffda-1348-4203-be2f-2bacc291b078" alt=""><figcaption></figcaption></figure>

6. After verifying the details, select **Execute** to execute the test cases.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FIZKuMH2YtvhLQVnijIbD%2Fimage.png?alt=media&#x26;token=4e36c2b7-7480-4057-9dbd-7f2ef4b8cd71" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** If user have already selected **Test Management Tool** while configuring the execution list then it will auto populated in **Execute Now** popup window.&#x20;
{% endhint %}

7. After execution, the **Avo Assure Client** displays the message as **Updated Zephyr Scale details,** indicating that the execution details are successfully updated in Zephyr Scale.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FNx6BXxc5fKfimsY4V3aL%2Fimage.png?alt=media&#x26;token=2f2165e0-7d44-4ffa-be6d-0270f7131773" alt=""><figcaption></figcaption></figure>
