Powered By Blogger

Sunday, May 7, 2017

Selinum IDE

Selenium IDE






Selenium IDE is an integrated development environment for Selenium scripts. It is implemented as a Firefox extension, and allows you to record, edit, and debug tests.

Selenium provides a record/playback tool for authoring tests without learning a test scripting language (Selenium IDE). It also provides a test domain-specific language (Selenese) to write tests in a number of popular programming languages, including C#, Groovy, Java, Perl, PHP, Python, Ruby and Scala.

Selenium IDE is the most simplest and easiest of all the tools within the Selenium Package. The record and playback feature makes it exceptionally easy to learn with minimal knowledge of any programming language. The disadvantages of IDE are in reality not disadvantages, but just limitations to what the IDE could achieve. These limitations can be overcome by using Selenium RC or Web Driver.

Advantages
  • Selenium IDE is very easy to use.
  • It has the capability to convert the test to different programming languages such as html, java etc
  • Programming language experience is not required for Selenium IDE
  • Selenium IDE provides Logging capabilities using file login plug-in.
  • In Selenium IDE, user can debug and set breakpoints
  • Selenium IDE is flexible for the users.
Disadvantage
  • Selenium IDE is Firefox plugin, thus its support is limited to Firefox only
  • It will not support iteration and conditional statement
  • Selenium IDE doesn't support error handling
  • Doesn't support test script grouping
  • Selenium IDE do not support Database testing

How to add Selenium to your web browser?
  • Open Fire Fox web browser
  • Install Selenium IDE add on 
  • Open Selenium by navigating to  tools -> Developer -> Selenium IDE
Lets see how to navigate to a web page using Selenium

  • Open Selenium  


  • Click Record Button
  • Navigate to the page you need to go
Ex: I will first go to google.com and then type Colombo and then I will visit the first page that comes up
  • Now the steps will be recorded automatically
  • To check whether the script is correct press the Play entire test suit button & that will open the necessary pages and navigate to the page. 
Instead of recording you can also select the commands and fill the other fields too and do the scripting too. 


No comments:

Post a Comment