This article will review how to set your Saucelabs on Testim and how to run your tests.

How to add a Saucelabs grid

  1. Navigate to Company view and then to "Grids" tab.
  2. Click "+" in the top right corner of the screen.
  3. Choose a grid type: Saucelabs
  4. Update the following fields:
  • Name: The grid name to use at run time.
  • Saucelabs User: Saucelabs key to connect. 
  • Saucelabs key: Saucelabs key to connect. 
  • Host: Saucelabs host name. 
  • Port: Saucelabs port

How to run on the grid

You can run your tests remotely using one of the following methods:

CLI/ CI

Add --grid parameter with the grid name. 

Scheduler

Use Grid field to choose on which grid to run your tests. 

Test Plan

Use Grid field to choose on which grid to run your tests. 

From the editor

You can run your test on the grid directly from the test editor. 

  • Click on the options arrow next to the "Run" button
  • Click on "Run on a grid".

To change the configuration/grid/base url for that run click on "Edit". 

Follow the links to learn more about each option.
Note

  1. Grid parameter replaces the old host and port parameters. 
  2. Saucelabs doesn't support Linux, please check you test configuration before running.
Did this answer your question?