Selenium Test Groups

Updated 3 months ago by Iván Minaya

Selenium Test Groups Overview

Test Groups are a collection of test suites and org credentials in which to run those suites. 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 group 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
  2. Press the New button
  3. Enter a name for the Test Group
  4. Select the desired Selenium Settings record
  5. 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, just press the "New Selenium Group Variable" button on the Group Variables related list. Choose a Name e.g. URL and a value e.g. http://test.mysite.com. On your Test Case refer to Group variables as {!Group.Name} e.g. {!Group.URL}


    How did we do?