About - Selenium


Development and Versions


Languages supported

Manual vs Automation

Choosing Selenium

Selenium - Components

Selenium IDE

Selenium RC

Selenium WebDriver

Selenium Grid


Selenium vs QTP

Selenium - IDE


Install and configure

Selenium - Webdriver

About WebDriver

install and configure

First test case

Web element

Element Locators

Example of locators


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




Passing parameters

Data providers

Read data from excel

Ant - XSLT reports

Testng listeners

Cross browser testing

Page Object Model

Passing parameters
Suppose you want to pass some data or parameters from testng.xml to test methods in Test class, then we have a provision to pass such data as parameters tag and @parameters annotation. Lets see how: Eg: testng,xml looks like this:
<Suite name=" SuiteParametersDemo" >
<Parameter name=" email" value=" ananda@gmail.com" />
<Parameter name=" password" value=" password123" />

<Class name=" ParametersDemo" />
The class looks like this:

Public class ParametersDemo(){
@Parameters(" email" ," password" )
Public void login(String name, String password){
System.out.println(" login details :" + name + " and " + password)
If we execute or run the above program, it successfully executes and prints email and password.
We use this parameterization concept very rarely as we have another concept called DataProvider which can be used to pass bulk data to the test method.

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/-