Skip to main content
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Install Test Companion in Visual Studio

Install Test Companion in Visual Studio 2022 or Visual Studio 2026 to generate, automate, and fix test cases without leaving your IDE.

You install Test Companion from the Visual Studio Marketplace, the same way you install any other Visual Studio extension.

The setup process has three steps:

Prerequisites

Before you install the extension, make sure you have:

  • A BrowserStack account. If you do not have one, create a BrowserStack account.
  • Visual Studio 2022 version 17.14 or later, or Visual Studio 2026, on 64-bit Windows.
  • The Microsoft Edge WebView2 runtime and .NET Framework 4.8.

The extension works in the Community, Professional, and Enterprise editions. To check your version, choose Help > About Microsoft Visual Studio.

Visual Studio 2022 and current versions of Windows install the WebView2 runtime and .NET Framework 4.8 for you. A separate install is rarely necessary.

Install the extension

You can install Test Companion in two ways. Use the Extension Manager inside Visual Studio unless a policy in your organization blocks installs from the IDE.

Install from Extension Manager

Visual Studio checks the marketplace signature on every extension it installs, so you do not have to judge whether a .vsix file from another source is genuine. Use this path by default. Extensions installed this way also update themselves when a new version reaches the marketplace.

Visual Studio must close before the install finishes, so save your open work first.

  1. On the menu bar, choose Extensions > Manage Extensions. The Extension Manager window opens.

    Extensions menu open in Visual Studio with the Manage Extensions command highlighted

  2. In the left pane, select Browse.
  3. In the search box, type Test Companion.
  4. In the results list, locate the Test Companion extension published by BrowserStack.

    Extension Manager Browse tab with the Test Companion extension by BrowserStack at the top of the search results

  5. Click Install. Extension Manager shows a notice that your changes are scheduled and start after Visual Studio closes.
  6. Close Visual Studio. The VSIX Installer opens and lists the pending change.

    VSIX Installer listing Test Companion as a scheduled install, with Modify and Cancel buttons

  7. Click Modify. Wait for the installer to report that the change is complete.
  8. Reopen Visual Studio.

Install from the Visual Studio Marketplace website

Use this path when your organization distributes extensions as files, or when a policy blocks installs from inside the IDE.

  1. Go to Test Companion on the Visual Studio Marketplace.
  2. Click Download.

    Test Companion page on the Visual Studio Marketplace with the Download button

  3. Close Visual Studio.
  4. Open the downloaded .vsix file. Follow the prompts in the VSIX Installer.
  5. Reopen Visual Studio.

Verify the installation

After Visual Studio reopens, open the Test Companion tool window in any of these ways:

  • Click Test Companion on the Standard toolbar, the row that holds the solution configuration and run controls.
  • Choose Tools > Test Companion.
  • Press Ctrl+Alt+T.

Test Companion panel in Visual Studio showing the New Task button, the Test Cases and Failure Analysis panels, and the prompt box

Test Companion docks on the left side of the editor the first time it opens. You can move it to another dock position or float it as a separate window. Visual Studio remembers the position you choose.

To rebind the keyboard shortcut, choose Tools > Options > Environment > Keyboard.

If Test Companion does not appear, confirm that the install finished. Choose Extensions > Manage Extensions, then select Installed in the left pane and look for Test Companion.

To use Test Companion, enable BrowserStack AI in your account settings. For more about these settings, read Activate BrowserStack AI.

Sign in to BrowserStack

Connect the extension to your BrowserStack account.

  1. Open the Test Companion tool window.
  2. In the panel, click Sign in with BrowserStack.
  3. Your default browser opens. It prompts you to authorize the extension.
  4. Follow the prompts to sign in. If you do not have an account, create a BrowserStack account.

After you sign in, the browser confirms that you are signed in. You can close the browser tab. The Test Companion panel in Visual Studio then shows your user information.

Test Companion is installed and configured.

Next steps

Start exploring what Test Companion can do:

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

Is this page helping you?

Yes
No

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!

Talk to an Expert
Download Copy Check Circle