×
☰ See All Chapters

Selenium Tutorial - Selenium Automation Testing

What is Selenium

Selenium is an open source web automation suite of different software tools, each with a different approach to support test automation. Selenium scripts can be developed from any operating system and using any coding language, can be used for any browser.

What kind of application can be automated by using selenium

Selenium supports all kinds of web applications and mobile applications developed using any language. We can use any supported language to automate all the applications.

                                                   selenium-tutorial-0
 

Features and advantages of Selenium

  1. Selenium is an open source tool. No licence required. 

  2. Integrates easily with other Test Management tools like ALM, Bugzilla etc. 

  3. It supports almost all major software languages for scripting. Supports Java, C#, Ruby, Python, Perl, PHP, Javascript, Javascript (Node JS), Haskell, Dart, TCL, Objective - C 

  4. It supports almost all the browsers. (Firefox, Chrome, Internet Explorer etc.) and hence, cross browser testing/compatibility testing can be performed using selenium. 

  5. It supports almost all the Operating System (MAC, Windows, and LINUX etc.) and hence, cross platform testing can also be performed. 

  6. Support parallel execution  

  7. Support unattended execution 

What is the difference between selenium and QTP

Selenium

QTP

Open source                                                                

Commercial tool

Supports Java, C#, Ruby, Python, Perl, PHP, Javascript, Javascript (Node JS), Haskell, Dart, TCL, Objective - C

Supports VB script

Supported browsers: Firefox, IE, Chrome, Safari, opera.

Supported browsers:  IE, Firefox, and Chrome.

Supported OS: Windows, MAC, and Linux.                                            

Supported OS: Windows

Flexible and Extendable.                                                

Less Flexible and less Extendable

Can automate Web apps & Mobile apps

Can automate Desktop, Web, Mobile apps.

Limitation of Selenium

It doesn’t support to automate windows based application directly.

Note:

  • Selenium community developed specific tool called WINIUM to automate windows based applications. 

  • Selenium community also developed tools to test mobile applications, 

    1. Selendroid - it supports only Android platform. 

    2. Appium - it supports Android platform, MAC, Windows etc. 


All Chapters
Author