1 – Introduction to Selenium

Selenium Class 1: Introduction to Selenium

1) What is Selenium?

2) History of the Selenium Project

3) Selenium Components / Selenium’s Tool Suite

4) Platforms supported by Selenium

5) Selenium License

6) Advantages and Disadvantages of Selenium

7) Testing Frameworks and Other Tools used in Selenium

1) What is Selenium?

(Selenium is used for Functional & Regression Testing, Selenium is Open source software to automate web browsers, Selenium supports various operating environments, Selenium supports various Browsers to write and execute Test Scripts and Selenium supports various programming languages to write Programs /Test Scripts.)

2) History of the Selenium Project

(Selenium was first launched in 2004, in 2006, Selenium WebDriver was launched at Google, in 2008, the whole Selenium team decided to merge Selenium WebDriver with Selenium RC in order to form a powerful tool called Selenium 2.0)

Selenium 1.0 (Selenium IDE + Selenium RC + Selenium Grid)

Selenium 2.0 (Selenium IDE + Selenium RC + Selenium WebDriver + Selenium Grid)

Selenium 3.0 (Selenium IDE + Selenium WebDriver + Selenium Grid)

3) Selenium Components / Selenium’s Tool Suite

Selenium IDE
Selenium RC
Selenium WebDriver
Selenium Grid

4) Platforms supported by Selenium

Selenium works with various Operating systems, Browsers, Programming languages and Testing Frameworks

Operating Systems (MS Windows, Linux, Macintosh etc…)

Application Environment (CUI (* doesn’t support), GUI – Desktop (* doesn’t support), GUI – Web (Supports))

Browsers (Google Chrome, Mozilla Firefox, MS Internet Explorer / MS Edge, Opera and Safari etc…)

Programming Languages (Java, Python, C#.Net, Perl, PHP and Ruby)

Testing Frameworks (Java – JUnit or TestNG, C#.Net – NUnit, PHP: Behat + mink, Python: unittest, pyunit, py.test, Ruby: RSpecc, Test::Unit)

5) Selenium License

Selenium is an Open Source Software, anybody can download and with free of cost, Selenium Projects were released under Apache 2.0 license

Anybody can download and use Selenium with free of cost, Anybody can modify the source code and use, and distribute to others and Selling modified code is not allowed

6) Advantages and Disadvantages of Selenium

Advantages of Selenium
(It is an Open Source Software, It supports various Operating systems, It supports various Programming languages, It supports various browser environments, It supports parallel testing and It uses less hardware resources Etc…)

Disadvantages of Selenium
(It supports only web based applications, No reliable technical support from anybody, No other tool integration for Test Management, No built-in Object Repository, No built-in Result Report facility, Difficult to configure Test Environment, Less support for Image based Testing and It takes time and efforts to create Test cases etc…)

7) Testing Frameworks and Other Tools used in Selenium

(Editor – Eclipse IDE – Editor for writing and executing programs, Programming Platform – Java – To write Test Scripts and enhance Test Scripts, Test Tool – Selenium WebDriver Java language binding – to write Test Steps, Testing Framework – TestNG- prioritizing Test Cases, Grouping Test Cases, Executing Test batches, Parallel Testing and generate Test Reports, Build Automation Tool – Maven – Easily setup Test Environment and easy Maintenance of the Environment, and CI Tool – Jenkins – Continuous Integration (integrating Testing process with development process) etc….)