What is Selenium IDE?
Selenium IDE (Integrated Development Environment) is the simplest tool in the Selenium Suite. It is a Firefox add-on that creates tests very quickly through its record-and-playback functionality. This feature is similar to that of QTP. It is effortless to install and easy to learn.
Because of its simplicity, Selenium IDE should only be used as a prototyping tool, not an overall solution for developing and maintaining complex test suites.
Selenium IDE supports autocomplete mode when creating tests. This feature serves two purposes:
- It helps the tester to enter commands more quickly.
- It restricts the user from entering invalid commands.
Features of Selenium IDE
It is located at the top most portion of the IDE. The most commonly used menus are the File, Edit, and Options menus.
- It contains options to create, open, save and close tests.
- Tests are saved in HTML format.
- The most useful option is "Export" because it allows you to turn your Selenium IDE test cases into file formats that can run on Selenium Remote Control and WebDriver
- "Export Test Case As..." will export only the currently opened test case.
- "Export Test Suite As..." will export all the test cases in the currently opened test suite.
- As of Selenium IDE v1.9.1, test cases can be exported only to the following formats:
- .cs (C# source code)
- .java (Java source code)
- .py (Python source code)
- .rb (Ruby source code)