About - Selenium

Definition

Development and Versions

Pre-requisites

Languages supported

Manual vs Automation

Choosing Selenium

Selenium - Components

Selenium IDE

Selenium RC

Selenium WebDriver

Selenium Grid

QTP

Selenium vs QTP

Selenium - IDE

Features

Install and configure

Selenium - Webdriver

About WebDriver

install and configure

First test case

Web element

Element Locators

Example of locators

Chropath

Web driver commands

Eclipse and TestNG

About Eclipse

Choose and download

About TestNG

Testng installation on eclipse

Testng Annotations

Pass Fail and Skip test cases

Run test cases in batch

testng.xml - Explanation

testng grouping

Running tests parallely

dependsOnMethods

dependsOnGroups

Prioritization

Passing parameters

Data providers

Read data from excel

Ant - XSLT reports

Testng listeners

Cross browser testing

Page Object Model



Selenium - Grid
 
Selenium Grid is part of Selenium suite which is a server that allows running multiple tests across different browsers, operating system and machines in parallel.


There are two elements in Selenium Grid:

1) Hub: A physical Computer machine is called a hub where we can load of tests into it. It is a central point server which controls other network machines called nodes.

Selenium Grid consisits of only one Hub which is the master of the network.

Hub will identify the type of machine wanted and run the tests on that particular machine.

If there is no match hub will through an error

2) Node: Node is also a Test machine which performs tests after connecting to its hub.

There is one or more than one node per Hub.

A node is supported to have different platforms i-e different Os and differnet browsers.

There are two versions of Grid i-e Grid 1 and Grid 2:

In Grid 2, it is enclosed by server jar file

Grid 2 supports both Selenium RC and WebDriver scripts.

In Grid 2, there is no need to install apache ant.

In Grid 2, 5 browsers can be run in parllel.


I conduct online tutions on Manual Testing, Selenium and the following. For more details contact anandaibmindia@gmail.com
Manual Testing - 1600/-           Selenium - 1600/-
           Jsp and Servlet -2000/-           Java training - 2000/-