In this chapter we will learn to use the File Menu of Selenium IDE, which actually helps us to learn Option to Create Save Export Selenium IDE Test Case And Test Suite.
The file menu can be quickly accessed by holding down Alt + F, or simply click on File menu.
The File Menu has following menu items:
- New Test Case: This is used to create a new blank Test Case
- Open: this is used to Open or Load a privious saved Test Case.
- Save Test Case: This allows us to save the current Test case.
- Save Test Case As: This allows us to save the current Test Case, specifying a name for the file.
- Export Test Case As: This allows us to export the Test case into a series of Language(Ruby/Python/Java/C#) that to be in both Selenium Remote Control and Selenium WebDriver Format.
- Recent Test Cases: This list the last saved Test Cases(Clicking on any displayed test case will load the test).
- Add Test Case : this is to search for and to load a Test case into the current opened Test case, so as to merge them.
- Properties: This provides properties of the current test on which the user is working on.
- New Test Suite: This is used to create a new blank Test Suite
- Open Test Suite: This is used to Open or Load a previous saved Test Suite.
- Save Test Suite: This allows us to save the current Test Suite.
- Save Test Suite As: This allows us to save the current Test Suite, specifying a name for the file.
- Export Test Suite As: This allows us to export the Test Suite into a series of Language(Ruby/Python/Java/C#) that to be in both Selenium Remote Control and Selenium WebDriver Format.
- Recent Test Suites: This list the last saved Test Suites (Clicking on any displayed test Suite will load the test).
Thing to Notice:
Export Test Case As: As mentioned above that this is to save the Test Case in various Languages and Format. Its gives the different options to save the test like this
C#/ NUnit / WebDriver : This is the combination of below three.
- C# is the Programming Language
- NUnit is the Testing Framework
- WebDriver is one of the Selenium Component
Likewise, Java/ JUnit/ WebDriver means Java as Programming Language, JUnit as Testing Framework and WebDriver as Selenium Component.
Note: Export Test Suite As is also same as Export Test Case As.
Conclusion: Using a menu bar you can add a new Test Case, open a Test Case, save a Test Case, and export Test Case in a language of your choice. You can also open the recent Test Case. All these options are also available for Test Suite.