Wednesday, June 22, 2011

Selenium IDE and its useful features

Selenium IDE, a firefox extension is the easiest way to record, edit, debug and run web test. Selenium is a web application testing system and selenium IDE (sometime refereed as SIDE) is a part of it. Once download, it appears as a Firefox plug-in under 'tools'. Selenium IDE works only with Firefox browser. A Selenium test recorded in Selenium IDE can be run in other browsers with the Selenium Server.

Installation :
You can download Selenium IDE from:
http://selenium-ide.openqa.org/download.jsp

If you want to open it, lunch the Firefox browser then go to  Tools> Selenium IDE.You will see the following window.




Selenium IDE is a lightweight tool and it doesn't have a lot of features as well. Some of the important features are:

Base URL: The base URL of the application. Selenium IDE automatically captures it. Test starts with this URL and all 'open' command will be relative to it unless a full path is specified with 'open' command


User Extensions: You can add new actions and assertions in selenium IDE with javascript. Create your own user-extension and save it as .js file. Go to Tools-> Options and browse your js file here. Next time when you open lunch your Selenium IDE, it will be available in command drop-down. To learn more about Selenium User Extension visit here.



No comments:

Post a Comment