Installation guide
Install the BrowserStack Test Companion extension to generate, automate, and fix test cases directly within your editor. You can install the extension automatically through your IDE or manually using a .vsix file.
The setup process has three main steps:
- Install the Extension
- Verify that the installation was successful
- Sign In to your BrowserStack account
Install the Extension
You can install the extension automatically through your IDE (recommended) or manually by downloading the .vsix file from the marketplace.
Install from the IDE
This is the simplest way to find and install extensions from within the IDE. Install the extension directly through the Visual Studio Code or Cursor interface. This ensures you receive automatic updates.
- Open the Extensions view in your IDE.
-
Keyboard shortcut:
Ctrl+Shift+X(Windows/Linux) orCmd+Shift+X(macOS). - UI: Click the blocks icon in the Activity Bar.

-
Keyboard shortcut:
-
In the search bar, type
Test Companion.
- Locate Test Companion extension in the results list, which will be published by BrowserStack.
- Select Install.
Install from the marketplace
Manually install the extension using a .vsix file if you cannot connect to the official Visual Studio marketplace. This method is required for air-gapped machines, restricted networks behind firewalls, and IDE forks like Cursor or VSCodium.
This is a two-step installation process:
Download the vsix file
Download the latest version of the VSIX for your specific environment using the links below:
| Platform | Resource | Action |
|---|---|---|
| Visual Studio Code | Visual Studio Marketplace | Go to VS Code Marketplace |
| Cursor / VSCodium | Open VSX Registry | Go to Open VSX Registry |
| Cursor | Cursor Marketplace | Go to Cursor Marketplace |
Install the vsix file
- Navigate to the marketplace page for your IDE.
-
On the marketplace page, click Download.

- Open the Command Palette (
Ctrl+Shift+Pon Windows/Linux,Cmd+Shift+Pon macOS) in your IDE. -
Type Install from VSIX and select the command Extensions: Install from VSIX… from the menu.

- Navigate to your download location and select the
.vsixfile you just downloaded.
The IDE installs the extension automatically.
Verify the Installation
Once installed, you can verify that Test Companion is active in two ways.
Method 1: Check the activity bar
The fastest way to check is to look for the Test Companion icon in the IDE Activity Bar (the primary sidebar/topbar on the left).
Method 2: Check the Extensions list
You can also confirm the installation in your list of extensions.
- Navigate to the Extensions view:
- Click the Extensions icon in the Activity Bar.
- Or, use the Command Palette (
Ctrl+Shift+P) and typeView: Extensions.
- In the search bar for your Installed extensions, type
Test Companion. - If the installation was successful, it will appear in the list.
To leverage AI Agents for Test Companion, enable BrowserStack AI in your account settings. For further details, refer to our comprehensive documentation on activating AI preferences.
Sign in to BrowserStack
The final step is to connect the extension to your BrowserStack account.
-
Click the Test Companion icon in the Activity Bar to open the Test Companion panel.

- In the panel, click the Sign in with BrowserStack button.
- Your default web browser will open, asking you to authorize the extension.
- Follow the prompts to sign in. If you do not have an account, you can create one here.
After you sign in, your browser will redirect you back to your IDE. The Test Companion panel will now show your user information and be ready for use.
You are all set! Congratulations, Test Companion is now installed and configured.
You can start exploring what’s next:
- Generate Test Cases: Write test cases from requirements using AI.
- Automate Tests with AI: Convert manual test cases into executable automation scripts.
- Fix Failed Tests: Debug and fix test failures using Test Reporting & Analytics.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!