Selenium Testing

Introduction to Automation:

  • What is Automation testing?
  • Drawbacks of Manual Testing
  • What test cases can be automated?
  • What test cases cannot be automated?
  • Types of Automation Tools

Different Components of Selenium

  • Selenium IDE
  • Selenium-RC
  • Selenium-Grid
  • Selenium 2.0 & WebDriver

Selenium IDE Introduction:

Introduction to Selenium IDE

Installing Selenium IDE

Create and Execute Basic Scripts

  • Recording Tests
  • Running a Test

Selenium Concepts

  • Element Locators
  • Selenium Commands
    1.Actions   2.Asserts   3.Accessors
  • Pattern Matches

Element Locators

  • Locating elements by ID
  • Locating elements by name
  • Locating elements by link text
  • Locating elements by XPath
  • Locating Elements by using CSS
  • Summary

Useful Selenium Tools

  • Firebug for Firefox & Chrome
  • Firepath for xpath generation
  • IE developer tool bar

TestSuite

  • ts by using CSS
  • Summary
Useful Selenium Tools
  • Firebug for Firefox & Chrome
  • Firepath for xpath generation
  • IE developer tool bar

TestSuite

  • What is Test suite?
  • Creating Test Suite Using Selenium IDE

Core Java

Introduction To Core Java

What is oops?

What is a class and object?

What is a main method?

Basic Example

Datatypes

Variables

Operators

Arrays

Conditions

  • If
  • If-else
  • If –else –If
  • Nested If
  • Select Case

Looping Conditions

  • For – Next
  • Do – loop
  • While –loop
  • For Each loop

Branching statements

  • Break Statement
  • Return Statement
  • Continue statement

Java Built in methods

  • String Methods
  • Math object methods
  • Date & time methods

Oops Concepts

  • Introduction
  • Class
  • Object
  • Static Keywords
  • Constructors
  • This Key Word
  • Inheritance
  • Super Key Word
  • Polymorphism (Over Loading & Over Riding)
  • Abstraction
  • Encapsulation
  • Abstract Classes
  • Interfaces
  • Where we will use
  • Regular expression syntax
  • Examples on regular expression

Working with files

  • Working with Files and I/O
  • Working with Excel files
  • Working with data base.
  • Working with Property files

Java Exceptions

 

WebDriver (Selenium2.0)

WebDriver Introduction

  • What is WebDriver?
  • Why WebDriver?
  • Difference between WebDriver and Selenium RC
  • Architecture of selenium webDriver
  • Configuring WebDriver in Eclipse
  • Downloading WebDriver Jars and configuring in eclip
  • se

WebDriver Drivers introduction

  • HTML Driver
  • Firefox Driver
  • IE Driver
  • Chrome Driver
  • Safari Driver
  • Iphone driver
  • Android etc

Working with IE Driver

  • Downloading IE driver Server
  • Configuring IE Driver Server
  • Basic Example on IE Browser

Working with Chrome Driver

  • Downloading Chrome driver Server
  • Configuring Chrome Driver Server
  • Basic Example on Chrome Browser

Basic WebDriver Example

WebDriver Concepts

WebDriver Locators

  • Locating elements by ID
  • Locating elements by Class
  • Locating elements by Tag
  • Locating elements by Name
  • Locating elements by Link Text
  • Locating elements by Partial Link Text
  • Locating elements by XPath
  • Locating Elements by using CSS

Working with web page elements using WebDriver

  • Textbox
  • Links
  • Buttons
  • Check Box
  • Radio Button
  • List Box
  • Drop Down

Selenium-WebDriver API Commands and Operations

Driver commands like

  • get(“url”);
  • getTitle();
  • getWindowHandle();
  • getWindowHandles();
  • close();

Child element commands like

  • clear();
  • sendKeys(“Data”);
  • click();
  • getAttribute(“arg”);
  • getTagName();
  • getText();
  • isDisplayed();
  • isEnabled();
  • isSelected(); ….etc.

Webdriver all other commands.

Introducing Actions class Usage

  • Simulating the Keyboard Keypress event
  • Simulating Pressing Enter Button of Keyboard
  • Simulating ClickAndHold event
  • Simulating MoveToElement/Mouse Over event
  • Simulating Doubleclickevent ..etc
  • Simulating Drag and Drop event

Working withWebTable

  • How to get row count
  • How to get data from specific cell
  • Dynamic WebTable Handling
  • Setting the page load timeout- WebDriver.Timeout Interface
  • Handling Frames in Web Page
  • Handling cookies
  • Downloading files using webDriver
  • Listeners- Using WebDriverEventListener
  • Moving a mouse on a Object and right clicking on it
  • Finding Coordinates of a Web Object
  • WebDriver support Javascript alerts and prompts
  • Handle popUp windows

TestNG Framework

  • Introduction to TestNG
  • Difference between Junit and TestNG
  • Why TestNG
  • InstallingTestNG in Eclipse
  • Advantages of TestNG over Junit
  • Exploring TestNG Features
  • TestNG annotations
  • How to create testSuite for selenium tests.
  • TestNG Execution Report
  • TestNG Results output folder walkthrough

AutoIT

  • Installing Auto IT
  • Auto IT Overview
  • Why Auto IT?
  • AutoIT components
  • AutoIT commands
  • Auto IT Script Examples
  • Compiling Auto IT scripts
  • How To Use Auto IT scripts in WebDriver
  • AutoitX4Java Jar
  • Jacob Jar and dll files configuration
  • Autoit jar and Jacob Jar configuration in Eclipse
  • Write autoit programs in Eclipse

Automation Framework

  • What is Automation Framework
  • Advantages of automation framework
  • Types of automation framework
    1.Modular Driven Framework     2.Data Driven Framework     3.Hybrid driven framework     4.Keyword driven framework

Maven

  • What is Maven
  • Difference between ANT and Maven
  • Why Maven
  • Maven installation
  • Maven run commands
  • POM XML
  • Maven dependencies
  • All plugins installations
  • Create builds using Maven

Implementation of Automation Testing in a Project(Real time)

  • Introduction About Framework
  • What is feasibility study
  • Hybrid frame work creation
  • Automate Test Cases
  • Naming Conventions
  • Local Scope Variables
  • Global Scope Variables
  • Constants variables
  • General methods
  • Object Repository Files
  • Application methods
  • Coding & Commenting Code
  • Test Scripts Creation
  • Test Suite Creation.

Others

  • CV Preparation Tips
  • Interview Tips