Selenium IDE (Integrated Development Environment) is an open source automation testing tool that is used to test web based applications. Selenium IDE mainly works on ‘record and play‘ based functionality where we can record the test script and play it. Selenium IDE is used to made up automated test cases. Selenium IDE is an open source Mozilla Firefox Add-On .
The script format in Selenium IDE can be written in several languages like Java, PERL, HTML, C#, Python,
Selenium IDE can be downloaded and installed from the official page of selenium http://seleniumhq.org
When you launch the Selenium IDE, it looks like below:
By default the Selenium IDE tool will be in record mode where you can start recording as soon as the tool is opened. Red button in right most corner will be used to Start and Stop recording.
You can reduce or increase the speed of running script. Either you can run entire test suite or run single test case where Test Suite is a set of multiple test cases.
To start recording simply Open the Selenium IDE tool, start recording your script. Now consider the following example:-
1. Open Selenium IDE tool in record mode.
2. Type www.google.com
3. After that type youtube and click on Search
4. click the first record that comes in searched
5. Now Stop the recording by using recording button and Save that script in .html extension
6. Now play that Script by using play button.
you can also view the source code of recorded script by clicking “Source” tab. The source code will appear as given below:-
Selenium IDE has some limitations. It cannot be used with other browsers except Mozilla Firefox . It is available as Mozilla Firefox add on only. But Selenium RC or Selenium Web driver can be used for other browsers.