Selenium2.0 and WebDriver


Selenium-WebDriver Course Content

Chapter 1: Introduction to Automation

  • What is Automation testing?
  • Drawbacks of Manual Testing
  • Advantage and disadvantage of Automation testing
  • Types of Testing can be done by Automation Testing
  • What test cases can be converted into automation?
  • What test cases cannot convert into automation?
  • Things to be done before automation testing
  • Automation testing process
  • Types of Automation Tools
  • Difference between Selenium and QTP

Chapter 2: Different flavors of Selenium

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

Chapter 3: Selenium IDE Introduction:

  • Introduction to Selenium IDE
  • Installing Selenium IDE
  • Selenium IDE icons
  • Create and Execute Basic Scripts
  • Recording Tests
  • Running a Test
  • Selenium Concepts
  • Element Locators
  • Selenium Commands
    • Actions
    • Asserts
    • 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
  • What is Test suite?
  • Creating Test Suite Using Selenium IDE
  • Selenium IDE Overview
  • Selenium IDE General Options
  • Selenium Menu Items
  • Format

Chapter 4: Core Java

  • Introduction To Core Java
  • Environment variable configuration
  • What is oops?
  • What is a class and object?
  • What is a main method?
  • Basic Example
  • Datatypes
  • variables
  • Operators
  • Arrays
  • Collections
  • 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 Methods
    • Overloading Methods
    • Overriding Methods
    • Constructors
    • Inheritance
    • Polymorphism
    • Encapsulation
    • interfaces
    • Abstraction
  • Working with regular expressions
    • What is regular expression
    • 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
  • Exception handling
    • try block
    • catch
    • final
    • finally

Chapter 5: 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 eclipse
  • WebDriverDrivers introduction
  • HTML Driver
  • Firefox Driver
  • IE Driver
  • Chrome Driver
  • Safari Driver
  • Iphone driver
  • Android etc
  • 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();
      • quit(); ..etc
    • Child element commands like
      • clear();
      • sendKeys(“Data”);
      • click();
      • getAttribute(“arg”);
      • getTagName();
      • getText();
      • isDisplayed();
      • isEnabled();
      • isSelected(); ….etc.
    • Webdriver all other commands.
  • 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
  • Concept of firefox profile
    • What is Firefox profile
    • Why we need firefox Profile
  • Importing webDriver documentation in eclipse
  • WebDriverDesiredCapabilities Class
  • Proxy settings with webdriver/Working with proxy Servers
  • HTMLUnit driver and desired capabilities
  • Handling Links with WebDriver
  • Handling WebList
  • Dynamic objects
  • Extracting links and other webelements
  • Capturing screenshots with WebDriver
  • Window handles
  • Tabbed browsing with WebDriver
  • Example of Tabbed browsing
  • Pop up handling in Selenium
  • Example of Pop up handling
  • Secure Certificate error handling using WebDriver
  • Synchronization
  • Introducing Implicit wait and Explicit wait commands
  • WebDriverWait Class
  • sleep
  • Handling JavaScript alert messages with Selenium
  • 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
  • Attaching files with Selenium
  • Working with Calender using Selenium
  • Handling Ajax Autosuggests
  • Handling Google Ajax Autosuggests
  • Setting the page load timeout- WebDriver.Timeout Interface
  • Handling Frames in Web Page
  • Simulaing front and back button click on
  • Downloading files using webDriver
  • Moving a mouse on a Object and right clicking on it
  • Remote webdriver
  • WebDriver support Javascript alerts and prompts
  • Handle popup windows
  • Handle authentication

Chapter 6 :AWT

  • AWT Basics
  • How Handle window controls
  • Examples for how to Handle window controls

Chapter 7 :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

Chapter 8 : Sikuli

  • Introduction of Sikuli
  • Sikuli Overview
  • Why Sikuli
  • AutoIT and Sikuli differences
  • Sikuli installation
  • Record screen shot with sikuli
  • Sikuli jar configuration in Eclipse
  • Prepare scripts in eclipse using sikuli class files
  • Use sikuli programs in Eclipse

Chapter 9:Debugging the Scripts

  • Inserting Break Points
  • Watch variables
  • Step Into
  • Step Over
  • Step Return
  • Run To line
  • Terminator

Chapter 10: TestNG

  • Introduction to TestNG
  • Why TestNG
  • InstallingTestNGin Eclipse
  • Advantages of TestNG over Junit
  • Exploring TestNG Features
  • TestNG annotations
  • How to Use TestNG Annotations for Selenium programming.
  • TestNG Annotations Complete Usage and Limitations
  • TestNG Assert commands
  • Automate tests using TestNG.
  • xml file for suite.
  • How to create testSuite for selenium tests.
  • TestNG Execution Report
  • TestNG Results output folder walkthrough
  • TestNG Reporting features

Chapter 11: Junit

  • Introduction to Junit
  • Configuration Junit in Eclipse
  • Exploring Junit Features
  • Junit annotations
  • How to Use Junit Annotations for Selenium programming.
  • Junit Assert commands
  • How to create testSuite for selenium tests.

Chapter 12 : ANT

  • What is ANT
  • Why ANT
  • ANT installation
  • Build.XML
  • Dependencies
  • Create builds using ANT

 Chapter 13 : 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

Chapter 14 : Jenkins

  • What is Jenkins
  • Why Jenkins
  • Jenkins installation
  • How to execute ANT builds through Jenkins
  • How to execute Maven builds through Jenkins
  • How execute builds without ANT & Maven
  • Continuous integration

Chapter 15: Selenium Grid

  • What is Selenium Grid?
  • Use of Selenium Grid?
  • When to Use It
  • Selenium-Grid 2.0
  • Selenium-Grid 1.0
  • How Selenium-Grid Works–With a Hub and Nodes
  • Installation
  • Starting Selenium-Grid
  • Configuring Selenium-Grid
  • Hub Configuration
  • Node Configuration
  • Timing Parameters
  • Getting Command-Line Help
  • Common Errors
  • Troubleshooting
  • Executing tests using Selenium- Grid.

Chapter 16: SVN Integration

  • What is SVN
  • Use of SVN
  • Installation
  • Configure eclipse with SVN
  • How to create SVN Project
  • Check out process
  • Check in Process
  • How to see the differences

Chapter 17: GIT Integration

  • What is GIT
  • Use of GIT
  • Configure eclipse with GIT
  • How to create GIT Project
  • How to maintain project in GIT.

Chapter 18: Automation Framework

  • What is Automation Framework
  • Advantages of automation framework
  • Types of automation framework
  • Modular Driven Framework
  • Data Driven Framework
  • Hybrid driven framework
  • Keyword driven framework

Chapter 19: Modular Driven Framework

  • What is modular driven framework
  • Create reusable code as methods
  • Create test scripts by importing methods

 Chapter 20: Data Driven Framework

  • What is parameterization?
  • Types of parameterization
  • Parameterization using Excel
  • Parameterization using DataBase
  • Parameterization using Property files.
  • Random number parameterization

Chapter 21: Hybrid Framework (Page Object Model)

  • What is Hybrid Framework
  • Hybrid Framework Implementation

Chapter 22: BDD Framework

  • What is BDD Driven Framework
  • What is Behavior Driven Development
  • Cucumber instatllation
  • What is @Given,@Then,@And ..etc
  • BDD Driven Framework Implementation

Chapter 23: Real Time Process for Automation Testing

  • Introduction About Framework
  • What is feasibility study
  • Tool Selection criteria
  • What is POC
  • Automation Test Plan
  • Automate Test Cases
  • Name 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.
  • Build generation