Selenium Tutorial

Selenium Tool Suit Versions of Selenium Selenium Testing Difference Between Selenium and QTP Advantage and Disadvantage of Selenium

Selenium IDE Topics

Selenium-IDE Introduction Installation /download  Selenium–IDE (Firefox) Installation /download Selenium–IDE (Google Chrome) Characteristics of Selenium-IDE First test case of Selenium-IDE Login test for Selenium-IDE Selenium-IDE commands Selenium-IDE locators Id locator Name Locator  X Path Locator CSS Selector Locator Locating by ID Locating by Class Locating by Attribute Locating by ID/Class & Attribute Locating by Sub-string Locating by inner text Link Text Locator Advantage and Disadvantage of Selenium-IDE

Selenium WebDriver Topics

WebDriver introduction Characteristics of WebDriver Difference Between Selenium RC and WebDriver Installation steps of WebDriver WebDriver Class Diagram/ Architecture WebDriver control commands Browser control Navigation control Web element control Operational control Data capture control Verification control WebDriver working with chrome browser WebDriver working with Firefox browser WebDriver working with internet explorer browser WebDriver working with Microsoft Edge browser WebDriver locator Id Locator Name Locator Class name Locator Xpath Locator XPath axes Link text Locator Partial link text Locator Tag name Locator Css Selector Tag and Id Tag and Class Tag and Attribute Tag, class, and Attribute Sub string matches WebDriver wait statements Drop down handling Mouse and keyboard controls Drag and drop Event Handling Window Handling: New tab/new window Alert pop up Handling Checkbox Handling Radio button Handling Selenium Assertion

Selenium Tool Suite

The selenium tool suite is a combination of multiple software tools, and the entire tools having a different approach to support automation testing. Selenium test tool suites are as follows-

Selenium Tool Suite

1. Selenium -IDE [Integrated Development Environment]:

Thought Works Company introduces selenium IDE in 2006 andimplemented in the Firefox browser, which provides record and playback functionality to the test scripts. Selenium-IDE is the simplest tool of Selenium community. Selenium-IDE allows software testers to export recorded scripts in many languages like HTML, Java, Ruby, PHP, Python, C#, and Test-NG.

Selenium–IDE supports six locators, i.e., – Id, Name, X Path, CSS Selector, Link Text, DOM.

2. Selenium-RC [Remote Control]:

Selenium RC is the first open-source tooling in selenium community which is introduced by Thought Works Company in 2004. Selenium RC doesn’t have a record and playback features. Selenium RC cannot execute test script with selenium server. Selenium –RC supports multiple languages (java, C++, python), multiple operating systems (Windows, Linux), and multiple browsers (internet explorer, Google Chrome).

3. Selenium Web-Driver:

Selenium Web-Driver is also called Selenium -2, and Google introduced it in 2008. Selenium Web-drivers is just a collection of core java interface. In comparison to Selenium RC, Selenium web driver is more powerful and faster tool because it directly calls to the web browser. Web-driver supports multiple browsers, multiple operating systems, and multiple languages.

4. Selenium Grid:

Selenium Grid is also an important tool of Selenium Suite, which allows us to run our tests script on different machines against different browsers simultaneously. Selenium Grid proceeds from the Hub-Node Architecture to achieve parallel execution of test scripts.

Selenium Grid is divided into two parts-

  • Grid-1:- Grid-1 introduced by Thought works company in 2004.
  • Grid-2:- Google Company introduced it in 2008.