Commit Selenium Test scripts to a Version Control System
  • 24 Mar 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Commit Selenium Test scripts to a Version Control System

  • Dark
    Light

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 Uploadupload
  7. Find your Test case in the Label section.Test Case
  8. For each label, the following information is displayed:
    1. Label Name: Label name assigned to the Test case
    2. Category: Test category i.e., Test Automation or Test Execution
    3. Status: View the status of the test transformation
    4. Delete the Test Case: Delete the Test case permanently
  9. Click on the Open icon to view the test case details on the right side of the screen.Open
    Important Note:
    The Open option will be disabled for Labels that are in transformation in progress status
  10. Click on the log () icon to view the log details.
  11. If you would like to add further test data to the current test case, do so using Add Test Data option.
  12. Or, click on the Commit to Version Control button to complete the test transformation process.Commit to Version Control
  13. The next screen will allow selecting your Version Control repository and its mapped branch where you will commit.Version Control

Was this article helpful?