HomeSelenium

New Selenium IDE – Exporting Recorded Tests in different programming language formats

New Selenium IDE – Exporting Recorded Tests in different programming language formats

As part of exploring the other Selenium IDE features in-depth, I will explain about the Selenium IDE’s process of exporting the recorded test into a different programming language format like Java, Python etc.

Let’s get started with a practical demonstration.

New Selenium IDE – Exporting Recorded Tests in different programming language formats

Follow the below steps for exploring the Selenium IDE’s process of exporting the Tests into a different programming language format.

1) Launch the Selenium IDE having any Test Recorded init as shown below:

New Selenium IDE Saving Tests - recorded Test

2) Select the Test in Selenium IDE, select the three dots of the selected test and then select the ‘Export’ option as shown below:

Exporting Tests Selenium IDE - Export

3) In the displayed ‘Select Languages’ dialog, select ‘Java JUnit’ option and click on ‘Export’ button as shown below:

Exporting Tests Selenium IDE - Java Export

4) The Java file having the Java code of the exported Selenium Test will be displayed as shown below:

Exporting Tests Selenium IDE - java file

5) Click on ‘Save’ button in the above dialog and observe that the file got saved with .java file extension as shown below:

Exporting Tests Selenium IDE - saved

6) Right-click on this file and select ‘Edit with NotePad++’ to check the content in this file as shown below:

Exporting Tests Selenium IDE - edit

7) Observe that Selenium IDE Test steps exported into the Selenium WebDriver + Java code will be displayed in the file as shown below:

Exporting Tests Selenium IDE - java webdriver

8) We can also export the Selenium Tests in other languages displayed in step 3.

Here concludes the practical demonstration of the Selenium IDE Tests which got exported into our system with .java file extension and has the content in the format of Selenium WebDriver with Java on opening the Test file.

In the next article, I will practically demonstrate another Selenium IDE feature to be explored (Refer other features to be explored here)

Next Steps:

  • > Check complete Selenium Tutorial Contents here (Click here)

Please leave your questions/comments/feedback below.

Happy Learning 🙂

About Me > Arun Motoori

On a mission to contribute to the Software Testing Community in all possible ways.

If you like this article, share it on LinkedIn using the below button:

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *