Testim has tight integration with BrowserStack via the CLI. To run your tests on BrowserStack browsers:

  1. Open Testim settings page.
  2. Copy the code snippet inside "Running Tests via the CLI"
  3. Paste the code to the CLI (make sure you have installed Testim CLI through NPM) and hit Enter.
  4. Adjust the following mandatory parameters to fit Browserstack environment

    _____________________________________________________________

BrowserStack run parameters

BrowserStack Key

Example:

--browserstack-key sadfsdflkjdsf-sdf-fds

_____________________________________________________________

BrowserStack User

Example:

--browserstack-user sadfsdflkjdsf-sdf-fds

_____________________________________________________________

Set the grid URL and port

--host hub-cloud.browserstack.com --port 80

_____________________________________________________________

Test Config

A Test config defines a combination of OS, browser type, browser version and screen resolution. Pick one of the test configs defined in Testim configs page

Example:

--test-config win10-edge-1920x1080

Did this answer your question?