# Integrating & executing Test Case with Browser Stack

There are two methods to execute Test Case on Browser Stack

A)  [Normal Execution ](#a-normal-execution-on-browser-stack)&#x20;

B)  [Parallel Execution](#b-parallel-execution-on-browser-stack)

### **A) Normal Execution on Browser Stack**

Normal execution in browser stack allows users to execute the Test Cases only on one device.\
\
Step-by-step process for normal execution in Browser Stack:

&#x20;             &#x20;

1\. Select the **Project** to be integrated from the Projects section of the landing Page.

2\. Click **Design Studio** button from top right corner of the screen.<br>

<figure><img src="/files/qwIxbpoZQg7GOhFgkeLQ" alt=""><figcaption></figcaption></figure>

3. Navigate to **Execution** tab and click **Cloud Test** button present in top right pane of Execution window.
4. Select **Browser Stack** from Cloud Test dropdown to bring browser stack integration login popup.

<figure><img src="/files/R0sQ2LZkjYl7dkrqASwz" alt=""><figcaption></figcaption></figure>

5. Fill all the mandatory details such as:\
   \
   **BrowserStack Username**: Enter BrowserStack username associated with the account\
   **BrowserStack Access key**: Enter Access key used to authenticate user's BrowserStack account
6. Click **Login** button to navigate to BrowserStack Integration window

<figure><img src="/files/X4NUC11fsAzg70THEBwG" alt=""><figcaption></figcaption></figure>

7. Choose **Normal Execution** tab form BrowserStack Integration dialog box.
8. Select the **required OS**, **OS version**, required **browser** and **browser version** from their respective BrowserStack Integration dropdownn
9. Select **Client** to start the execution on the selected Avo Assure client, then click **Execute** button

<figure><img src="/files/gaihTNU2Pmn7rXMFbxDf" alt=""><figcaption></figcaption></figure>

10. Navigate to the BrowserStack home screen.

Live test case execution and test results can be viewed on BrowserStack.

After completing the Execution, Test Case execution video would be available to view and analyse.

<figure><img src="/files/aqRmhVxRdkw3yZNPVJOt" alt=""><figcaption></figcaption></figure>

### **B) Parallel Execution on Browser Stack**

Parallel execution in browser stack allows users to execute the Test Cases in multiple devices and browsers.

Step-by-step process for parallel execution in Browser Stack:

1\. Navigate to Parallel execution tab from the BrowserStack Integration dialog box

2\. Select the required number of combinations to execute selected number of executions simultaneously.

{% hint style="info" %}
**Note:** These arrows ![](/files/O1XqtQWTaLc6LkuwitFK)  are used to increase & decrease the combinations of OS & Browsers.
{% endhint %}

3\. Click Add button, after the selecting required numbers of combination of OS, Browsers.

<figure><img src="/files/uzWA3zZ4Qu7eR4qBUzqF" alt=""><figcaption></figcaption></figure>

4. Select OS, OS version, required browser and browser version from their respective BrowserStack Integration dropdowns.

{% hint style="info" %}
**Note:** Use Edit icon, to modify required field like OS, OS version, required browser, or browser version

Use **Delete** icon, to delete unrequired row
{% endhint %}

5. Select **Avo Assure Client** to start the execution on that Client
6. Click **Execute** button to start the execution

<figure><img src="/files/UJUORwnJEXeozDd74Gkb" alt=""><figcaption></figcaption></figure>

7. Navigate to the BrowserStack home screen.
8. Click **Automate** button, present in top left pane of the BrowserStack home page screen.

*Live Test Case execution can be viewed in the BrowserStack Test results*

<figure><img src="/files/Po7fW2OhXKrygxU7t8SJ" alt=""><figcaption></figcaption></figure>

9. Once the execution is complete, the Test Case execution video will be available for review.

&#x20;10\. Click **Text Logs** button, present in center of the BrowserStack Automate screen window.\
To view the logs on the BrowserStack screen

<figure><img src="/files/SR7TkbIMembtqwYPGZvR" alt=""><figcaption></figcaption></figure>


---

# 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.avoautomation.com/avo-assure/integrations-in-avo-assure/cloud-test/browser-stack/integrating-and-executing-test-case-with-browser-stack.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.
