Selenium Test Groups

Updated 3 months ago by Elena Illán

Selenium Test Groups

A Selenium Test Group is a collection of Selenium Test Suites and Org Credentials in which to run those suites. The objective of them is to run the same test suites on different orgs.

In the Selenium Test Groups, test run records will be created automatically, one per each suite and org credential.

As of v11, a new checkbox is available in the Test Group detail page to force your test run all the test runs sequentially ("Run Sequentially" checkbox). Thanks to this checkbox, users will be able to better control how tests are being run and avoid overlaps between tests. If this check is not marked, tests will run in parallel.

Creating Selenium Test Groups

To create a new Selenium Test Group following the below steps:

  1. Click on the Selenium Test Groups tab and press the "New" button.
  2. Enter a name for the test group and select the desired Selenium Settings record.
  3. Click Save.

After that, you will be able to select existing Org credentials and Test Suites by using the buttons "New Selenium Group Org Credential" and "New Selenium Group Test Suite".

Group Variables

Use group variables on your test cases and pre/post apex code so that they get replaced with different values on different groups.

To create a group variable:

  1. Press the "New Selenium Group Variable" button on the Group Variables related list.
  2. Choose a Name e.g. URL and a value e.g. On your Test Case refer to Group variables as {!Group.Name} e.g. {!Group.URL}.

This variable will be available to be selected in test cases.

How did we do?