Testim integration with SauceLabs is available through the CLI. To run your tests on SauceLabs browsers:

1. Open Testim settings page.

2. Use the relevant SauceLabs parameters (see following) and combine them in the "Running Tests Via CLI snippet. For example:

3. Paste the code to the CLI (make sure you have installed Testim library through NPM) and hit Enter.

SauceLabs run parameters

SauceLabs Key & Grid

--sauce-key

Example:

--sauce-key 12323-a4b2-4762-df380

________________________________________________________________

Set the user

--sauce-user

Example:

--sauce-user Dave

________________________________________________________________

Set the grid URL and port

--host ondemand.saucelabs.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?