Commit Selenium Test scripts to a Version Control System

To playback the selenium recorded scripts smoothly as well as commit your Test scripts to version control, follow the below steps:

  1. Click on the TAF module.

  2. Go to the Test Transformation tab.

  3. Choose Selenium as the Test type.

  4. Enter a label name.

  5. Click Browse and browse the recorded Test Case using Selenium from your system and upload them. Usually, the file will be in JAVA format.

  6. Click Upload.

  1. Find your Test case in the Label section.

  1. For each label, the following information is displayed:

  2. Label Name: Label name assigned to the Test case

  3. Category: Test category i.e., Test Automation or Test Execution

  4. Status: View the status of the test transformation

  5. Delete the Test Case: Delete the Test case permanently

  6. Click on the Open icon to view the test case details on the right side of the screen.

Important Note:The Open option will be disabled for Labels that are in transformation in progress status

  1. If you would like to add further test data to the current test case, do so using Add Test Data option.

  2. Or, click on the Commit to Version Control button to complete the test transformation process.

  1. The next screen will allow selecting your Version Control repository and its mapped branch where you will commit.

Last updated