Introduction To Selenium

Selenium tool has below futures

1.   a free and open source functional automation testing tool

2.   Have a large user base and helping communities

3.   Have cross Browser compatibility (Firefox, Chrome, Internet Explorer,
Safari etc.)

4.   Have great platform compatibility (Windows, Mac OS, Linux etc.)

5.   Supports multiple programming languages (Java, C#, Ruby, Python, Pearl
etc.)

6.   Has fresh and regular repository developments

7.   Supports distributed testing

 Selenium tool has 4 components

1. Selenium IDE
2. Selenium RC (Remote Control Server)
3. WebDriver
4. Grid

 Selenium IDE:

IDE is nothing but Integrated Development Environment. Initially it’s add on to Firefox browser but later it is also add on to Chrome browsers as well. Selenium IDE allows users to record
actions and play back of recorded actions.

 Let’s take simple test case which has below steps:

1.    Open the browser and type application URL let’s say www.facebook.com

2.    Click on Sign In in button

3.    Type user name

4.    Type password

5.    Click on Login button

We can record all of the above test steps using Selenium IDE and play back as part of automation and validate the test results.

Selenium IDE automatically generates code on its own in language called HTML and it supports only this language.

Selenium IDE has below futures:

a.    Record and Play back of actions performed

b.    Allows to set break points

c.    Allows to Debug

d.    Selenium IDE supports language called HTML

e.    Selenium IDE allows to convert generated HTML language to other languages like Java, Python etc…

Drawbacks:

1.    It supports only HTML language

2.    It supports only Firefox & Chrome browser

3.    It does not allow to write conditions and loops

4.      It does not support reading test data from external sources like Excel or CSV files 

Leave a Comment

Your email address will not be published. Required fields are marked *

18 Years Experienced Trainer