Selenium Test Groups

Updated 1 week ago by Copado Solutions

Selenium Test Groups

A Selenium Test Group is a collection of Selenium Test Suites and org credentials where you can run those suites. The purpose of Selenium test groups is to run the same test suites in different orgs.

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

Creating Selenium Test Groups

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

  1. Navigate to the Selenium Test Groups tab and click on New.
  2. Enter a Name for the test group and select the desired Selenium Settings record.
  3. When Type selected is Regression, you will be prompted to enter a value in the Environment lookup field. This way, all the Promotions whose destination is set to this environment will execute the tests included in the Test Group.
    The Regression tests linked to each Promotion are visible from the Promotion Page. Refer to Promotion Selenium Tests section on Manage Selenium Tests.
  4. Click on 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 in your test cases and pre/post Apex code so that they get replaced with different values in different groups.

To create a group variable:

  1. Click on New Selenium Group Variable in the Group Variables related list.
  2. Choose a name e.g. URL and a value e.g. In your Test Case refer to Group variables as {!Group.Name} e.g. {!Group.URL}.

This variable will be available for selection in test cases.

How did we do?