Skip to main content

BrowserStack Test Management

This guide provides the necessary details to quickly and securely connect your BrowserStack Test Management instance to SQAI Suite, enabling the generation and linkage of test cases.

Updated yesterday

⚠️Warning!
This guide is only applicable to the BrowserStack Test Management Module. It does not cover any other module or functionality of the BrowserStack Platform.

1. How does SQAI Suite Leverage This Integration?

Connecting to BrowserStack Test Management allows SQAI to integrate directly into your testing management workflow:

  • Centralized Test Creation: Allows SQAI to generate new, high-quality test cases directly within your designated BrowserStack Project and Folder.

  • Streamlined Workflow: Eliminates the manual effort of transferring test cases from a generation tool into your Test Management Tool (TMT).

  • Traceability: Enables the efficient management and tracking of AI-generated test assets alongside your existing manual and automated test suites.

1.1. Complementary Value: SQAI Suite and BrowserStack AI

BrowserStack's platform utilizes powerful AI Agents for test execution, maintenance, and analytics within its environment. SQAI Suite is highly complementary, specializing in the initial, context-aware generation of complex test assets.

Focus Area

SQAI Suite Contribution

BrowserStack Contribution

Context & Generation

Advanced Generation: Generates comprehensive test cases based on deep context from multiple sources (Check out our integrations).

TMT Integration: Receives and manages the final generated test case assets within the platform.

Execution & Maintenance

Framework Neutrality: Generates code in the customer's chosen framework (Playwright, Selenium) and pushes it to their self-managed repository.

AI Agents & Reporting: Executes the resulting automation code at scale (Automate/App Automate) and uses AI Agents for maintenance, stability, and analytics.

By combining the strengths of SQAI's context-driven generation with BrowserStack's robust execution and reporting, customers achieve both unprecedented test coverage and enterprise-level stability.

2. Information Required from Your BrowserStack Account

To establish a secure, plug-and-play connection, we require four specific pieces of information, most of which can be found by navigating the BrowserStack interface.

Required Detail

Explanation

How to Find It

Project Key

The short identifier for your Project (e.g., PR-1).

See Section 2.1 (Found in the Project Listing).

Project ID

The numerical ID of the Project where test cases will be created.

See Section 2.2 (Found in the Test Cases URL).

Folder ID

The numerical ID of the specific Folder within the Project where test cases will be placed.

See Section 2.2 (Found in the Test Cases URL).

API Key

A unique, private access token used for API authentication.

See Section 3.

2.1 Retrieving the Project Key

  1. Log into BrowserStack and navigate to Test Management .

  2. On the "All Projects" page, locate the short identifier listed next to your Project Title. This is your Project Key.

2.2 Retrieving the Project ID and Folder ID

  1. Click on the relevant Project to view its content.

  2. Navigate to the Test Cases section in the left navigation panel

  3. The Project ID and Folder ID are located in the browser's address bar.

3. Setting up the API Key

The API Key is required to authorize SQAI Suite to communicate with your BrowserStack account.

Step 1: Navigate to Settings

  1. In the Test Management interface, scroll down the left navigation panel.

  2. Click Settings (often found under the 'Management & Optimization' section).

Step 2: Access API Keys

  1. On the Settings page, select the API Keys tab.

  2. Copy the currently active API Key listed for your account. Treat this key as a sensitive password.

4. Entering Details in SQAI Suite

Once you have secured your API Key and gathered the necessary IDs, you can complete the setup in the SQAI Suite platform.

Step 1: Navigate to Integrations Go to your SQAI Suite settings and select the Integrations page. Find and select the BrowserStack Test Management configuration.

Step 2: Enter Details Insert the following details into the corresponding fields:

  • API Key

  • Expiration Date (Optional)

  • Project Key

  • Project ID

  • Folder ID

Step 3: Save and Confirm Click "Save Configuration." If the set-up is successful, you will receive a success message and see a green indicator next to your integration.

5. Troubleshooting BrowserStack Test Management Integration

If SQAI reports an error or fails to connect, use this checklist to quickly identify and resolve the most common issues related to access and data retrieval.

Problem

Cause

Solution

Connection Failed: "Unauthorized" or "Access Denied"

A. Invalid API Key: The key was copied incorrectly or has been revoked in BrowserStack.

Generate New Key: Re-copy the API Key from the BrowserStack Settings page and ensure it is entered accurately into SQAI Suite.

Invalid Resource: Cannot Find Project/Folder

B. Incorrect ID: The Project ID, Folder ID, or Project Key contains a typo or is outdated.

Double-Check URL: Verify the IDs by navigating back to the Test Cases URL in BrowserStack (Section 2.2) to confirm the numbers.

SQAI Connects, But Cannot Write

C. User Permissions: The user associated with the API Key does not have Write permissions for the specific project or folder.

Check User Role: Ensure the user who owns the API Key has the necessary role (e.g., Admin or Tester with editing rights) within the targeted BrowserStack Project.

Generic Connection Error

D. IP Restriction/Firewall: Although BrowserStack is Cloud, local firewall rules may occasionally block external API connections.

Check Network: Verify that there are no local network settings or proxies blocking outbound communication to the BrowserStack API endpoints.

Did this answer your question?