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 WebDriver - Install and Configure
 
Selenium cab be configured in eclipse in the following way:

a) Go to "google.com" and type "Selenium download" and click enter.

b) Click on first link and this redirect s to "https://www.selenium.dev/downloads/" and you can see the following page.







c) Select "download" link corresponding to Java. Click on "Download" link beside Alpha and your download will start.





Once the zip file downloads, extract the files to a folder in any driver:

d) Eclipse should be downloaded and opened.

e) You need to create a Java Project "SeleniumDemo" in eclipse.

f) And then create a package "com.ananda.selenium.demo" and create a java class "SeleniumDemo1.Java"





g) Right click on the project "SeleniumDemo" and click on Build Path ->Configure Build Path





In the popup window, select "Libraries" tab and then click on Add External Jars.

In the popup window, navigate to the place where you have downloaded the Selenium extracts and navigate to the jar files in the Selenium downloaded files.

And select the two jar files that are there as follows.





After the selection of two file the properties popup will be seen again with the 2 downloaded jar files





Click on the "Add External Jars" link again and a popup will come again

Then select the "libs" folder again and include the jar files in the libs folder again as follows:












Click on Apply button and the Selenium configuration is done.

If you want to use the Selenium for another Java Project, we need to repeat the steps above, of including the jars.

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