Friday, 29 August 2014

Installation of Selenium IDE


  •  Go to http://seleniumhq.org/download/.
  •  Click on the download link for Selenium IDE. You may get a message saying Firefox prevented this site (seleniumhq.org) from asking you to install software on your computer. If you do, click on the Allow button. 
  • When downloading from Firefox, you’ll be presented with the following window. Select Install Now.








The Firefox Add-ons window pops up, first showing a progress bar, and when the download is complete, displays the following. Restart Firefox.






After Firefox reboots you will find the Selenium-IDE listed under the Firefox Tools menu.







To run the Selenium-IDE, simply select it from the Firefox Tools menu. It opens as follows with an empty script-editing window and a menu for loading, or creating new test cases.
The three major components of Selenium IDE are  Command, Target and Value.




The toolbar contains buttons for controlling the execution of your test cases, including a step feature for debugging your test cases. The right-most button, the one with the red-dot, is the record button.






Base URL—This is the URL that the test will start. All open commands will be relative to the Base URL unless a full path is inserted in the open command. 

Speed Slider—This is the slider under the Fast Slow labels on the screen. 





- Run all the tests in the IDE.
-Run a single test in the IDE. 

 -Pause a test that is currently running. 

-Step through the test once it has paused.

-This is the record button. It will be engaged when the test is recording.

  • The Edit menu allows copy, paste, delete, undo, and select all operations for editing the commands in your test case. 
  • The Options menu allows the changing of settings. You can set the timeout value for certain commands, add user-defined user extensions to the base set of Selenium commands, and specify the format (language) used when saving your test cases. 
  • The Help menu is the standard Firefox Help menu; only one item on this menu–UI-Element Documentation–pertains to Selenium-IDE.
  • Test script is displayed in the test case pane.
  •  It has two tabs, one for displaying the command and their parameters in a readable “table” format.




  • The other tab - Source displays the test case in the native format in which the file will be stored. 
  • By default, this is HTML although it can be changed to a programming language such as Java or C#, or a scripting language like Python. 
  • The Source view also allows one to edit the test case in its raw form, including copy, cut and paste operations.
  • The bottom pane is used for four different functions–Log, Reference, UI-Element, and Rollup–depending on which tab is selected.
  • Log : When you run your test case, error messages and information messages showing the progress are displayed in this pane automatically.
  • Reference: The Reference tab is the default selection whenever you are entering or modifying Selenese commands and parameters in Table mode. In Table mode, the Reference pane will display documentation on the current command. 

To know FAQ's on Selenium Please ClickHere
To know SQL's Queries Required For Testers Please ClickHere

No comments:

Post a Comment