Selenium

SELENIUM COURSE COURSE

What is automation testing?

What is the use of automation testing?

What do we need to automate

What is selenium

Advantages of selenium

Difference between selenium and QTP

DIFFERENT FLAVOURS OF SELENIUM

Selenium IDE (Integrated Development Environment)

Selenium RC (Remote Control)

Selenium Grid

Selenium Web Driver/Selenium 2.0

SELENIUM IDE Introduction

Features of SELENIUM IDE

Installing SELENIUM IDE

SELENIUM IDE icons

Recording your first test with SELENIUM IDE

LOCATORS

How to identify elements in webpage using selenium

Tools to identify elements / objects

Firebug

IE Developer tools

Google Chrome Developer tools

Locating elements by ID

Finding elements by name

Finding elements by link text

Finding elements by XPath

Finding elements by using CSS

Summary

SELENIUM IDE Concepts

IDE Context Menu

Asserting the elements

Verifying the elements

WaitFor  elements

Storing the elements

Adding SELENIUM IDE comments

Building test cases using SELENIUM IDE

Synchronization commands

Working on pages with AJAX

Creating test suites

What you cannot record

SOME SPECIAL IDE COMMANDS

Go Back

Refresh

Enter key simulation

Mouse over

Highlight write your own SELENIUM IDE script without record and playback

SELENIUM REMOTE CONTROL

What is SELENIUM REMOTE CONTROL?

Overview of SELENIUM REMOTE CONTROL using JAVA

Downloading SELENIUM RC

Installing SELENIUM RC

Starting selenium server from command prompt

Stopping selenium server from command prompt and browser

Running selenium scripts /tests from command prompt using selenium RC

SELENIUM RC USING ECLIPSE

Set up SELENIUM RC in Eclipse using Junit

Starting SELENIUM RC from Eclipse

Stopping SELENIUM RC from Eclipse

Start and stop SELENIUM RC from Selenium Script

Convert selenium IDE tests to a programming language (JAVA)

Running Selenium script in different browsers with Eclipse and JUNIT

Sample programs in RC for:  Basic elements

JUNIT

Junit  Annotations

Junit  Methods

TestSuites using  JUNIT

Report Using ANT Build and Junit

TestNG

How to install TestNG plugin in Eclipse

TestNG sample script

Writing selenium testing script from scratch

Creating test suites using TestNG

Reports generation using TestNG

SELENIUM ADVANCED COURSE CONTENT

OBJECT REPOSITORY

Use of object repository

How to use OR in scripts

Sample scripts using object repository

MAVEN

What is Maven

Use of Maven

Configure Maven with eclipse

Take automatic updates

How to run tests using Maven

Create POM.xml file

INTRODUCTION TO WEB DRIVER (SELENIUM 2.0)

Introduction

Selenium RC and Webdriver

Downloading and configuring webdriver in eclipse

Drivers for Firefox, IE and HTML Unit driver

First selenium webdriver code

SAMPLE PROGRAMS IN WEB DRIVER

Text box

Link

Button

Checkbox

Radio button

Dropdown

Select value

Display all values

Write all values into notepad/excel/wordpad

Capture screenshot (positive)

Handling on load alerts

Page scroll down using javascript

HTML Unit driver

Handling multiple windows

Implicit wait

Handling AJAX auto suggestions

Handling web tables

ACTIONS CLASS

Draggable

Droppable

Mouseover

Selectable

Simulating right click

Slider

FUNCTIONS: WRITING COMMON FUNCTIONS

What is a function

Use of a function

How to reuse

Writing web driver functions

SIKULI

Introduction

Handling Flex/Flash buttons

Sikuli and web driver integration

CUSTOMIZED FRAMEWORK

What is frame work?

Use of frame work

Frame work using object repository and functions

What are different types of packages in frameworks

How to create reports

SELENIUM GRID

Introduction

Running same script in two different browsers

Running different scripts in two different browser