Versioning Selenium Test Cases

Updated 2 months ago by Elena Illán

Copado allows you to track version of the Selenium Test Cases. This way, a Selenium Test Case can be promoted the same way as the metadata changes are promoted into higher sandboxes or production Orgs. Promote and Rollback will show the usage of the current version and mass updated the Selenium Test Suites with a newer or older version.

To make your Test Cases more reusable and environment agnostic, use Group Variables.

Promote Test Case Version

Assuming you have your Test Case version 1 already in use on various Suites, you need to make some changes on the Test Case to reflect new functionality. Here is a step by step instructions to create a new version and promote it.

  • Go to the version 1 test case
  • Press the button "New Version". This will clone the Test case, and increase the version number, version 2.
  • Press the button "Promote Version"
  • A list of test cases per suite will be displayed where version 1 is being used
  • Select which ones should be promoted to version 2
  • Press "Save"
  • Now the selected Test suites are using version 2.
  • You can now start making changes to version 2

Rollback Test Case Version

Assuming you have your Test Case version 2 already in use on various Suites, you need to rollback test suites to use test case version 1, since version 2 might be faulty. Here is a step by step instructions to rollback to a previous version.

  • Go to the version 2 test case
  • Press the button "Rollback to Previous Version"
  • A list of test cases per suite will be displayed where version 2 is being used
  • Select which ones should be rollbacked to version 1
  • Press "Save"
  • Now the selected Test suites are using ver

How did we do?