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 IntelliJ

Install Test Companion in IntelliJ and other JetBrains IDEs to generate, automate, and fix test cases without leaving your editor.

You install Test Companion from the JetBrains Marketplace, the same way you install any other JetBrains plugin.

The setup process has three steps:

Prerequisites

Before you install the plugin, make sure you have:

The plugin is supported on IntelliJ IDEA, PyCharm, WebStorm, GoLand, PhpStorm, RubyMine, CLion, DataGrip, and Rider. To check your IDE version, choose Help > About. A platform build number that starts with 243. or higher meets the requirement.

Install the plugin

Install Test Companion from the JetBrains Marketplace inside your IDE. Your IDE downloads the plugin from the marketplace it already trusts, and it updates the plugin when a new version is published.

  1. Open the IDE settings.
    • Keyboard shortcut: Cmd+, on macOS, or Ctrl+Alt+S on Windows and Linux.
    • Menu: On macOS, choose IntelliJ IDEA > Settings, or the equivalent menu item in your IDE. On Windows and Linux, choose File > Settings.

    Settings dialog open in the IDE

  2. In the left navigation, click Plugins.
  3. Click the Marketplace tab.
  4. In the search bar, type Test Companion.
  5. Locate the Test Companion plugin, published by BrowserStack.

    Marketplace search results with the Test Companion plugin listed and its description alongside

  6. Click Install.
  7. Click Apply.
  8. When prompted, click Restart IDE.

The plugin activates after the restart.

Verify the installation

After the IDE restarts, look for the Test Companion tool window stripe button. JetBrains IDEs dock new tool windows in the bottom tool window bar by default. You can drag the button to another tool window bar if you prefer.

Click the button to open the Test Companion panel.

Test Companion panel open in IntelliJ, showing the New Task, Test Cases, and Failure Analysis tabs alongside the editor

If the button does not appear, choose View > Tool Windows and select 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 plugin to your BrowserStack account.

  1. Click the Test Companion tool window stripe button to open the panel.
  2. In the panel, click Sign in with BrowserStack.

    Sign in with BrowserStack button in the Test Companion panel in IntelliJ

  3. Your default browser opens. It prompts you to authorize the plugin.
  4. Follow the prompts to sign in. If you do not have an account, create a BrowserStack account.

After you sign in, the browser returns you to your IDE. The Test Companion panel 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