Course Content

Introduction

  • What is automation testing?
  • What is the use of automation testing?
  • What do we need to Automate?
  • What is Selenium?
  • Advantages of Selenium
  • What is the difference between Selenium and QTP?

Different Type of Selenium

  • IDE
  • Selenium Web Driver
  • Selenium-Grid

Selenium IDE

  • Installing Selenium IDE
  • Selenium IDE icons
  • Recording your first test with Selenium IDE
  • IDE Context Menu
  • Assert
  • Verify
  • Adding Selenium IDE comments
  • Synchronization commands
  • Working on pages with AJAX
  • Storing elements
  • Creating test suites
  • What you cannot record

Locators and Object Identification

  • Tools to identify elements/objects
  • Firebug
  • IE Developer tools
  • Google Chrome Developer tools
  • Locating elements by ID
  • Finding elements by name, link text, XPath and by using CSS
  • Summary
  • Some Special IDE commands
  • Write your own Selenium IDE script without record and playback

Junit Framework

  • Running Java Programs using junit
  • Writing Selenium tests from scratch using Junit FrameWork
  • JUNIT Annotations
  • JUNIT Methods
  • Frequently used Selenium commands
  • Test Suites using JUNIT
  • Parameterized test cases using junit framework.

TestNG Framework

  • Overview of TestNG
  • Environment of TestNG
  • Writing WebDriver Test Cases using TestNG
  • Basic Annotations of TestNG
  • Executing Tests
  • Executing Test Suites
  • Ignore Test
  • Dependency Test
  • Parameterized Tests
  • TestNG XML
  • Report Generation.

Selenium WEB-DRIVER

  • Why WebDriver?
  • Downloading web driver Jars configuring in eclipse
  • Architecture of selenium webdriver
  • Drivers for Firefox, IE, Chrome, iPhone, Android
  • What is the difference between Selenium RC and WD?

Sample programs in web driver

  • Handel Text box
  • Handel Hyperlink
  • Handel Button and Check box
  • Handel Radio Button and Dropdown Controls
  • Select value from Dropdown
  • Display all values
  • Select values step by step
  • Capture screenshots
  • Synchronization Commands in Web Driver
  • Why Implicit wait and Implementation of Implicit wait
  • Why Explicit wait and Implementation of Explicit wait
  • Web Driver Fluent wait and Thread Sleep functionality
  • File uploads and File downloads (Handling Window based controls using Robot and Sikuli API)
  • Handling alerts box and Verfying the Alert Texts
  • Handling confirmation messages
  • Keyboard actions
  • Mouse actions
  • Handling Iframes working with Nested Iframes
  • Handling multiple tabs
  • Handling popups
  • Preparing web driver test cases using customized x-path
  • Identifying controls using x-path predefined functions
  • Web Tables
  • What is Web Table
  • Extracting data from web tables
  • Examples on static and dynamic Web Tables
  • Creating Reusable functions for Web Tables
  • Web Driver with TEST NG Frame Work
  • Batch Running Test cases using TestNG
  • Validations and its usage in Automation test scripts
  • Customized Report Generation
  • Implementing Logs using Apache Log4j API
  • Database testing using Web Driver.

Working with multiple browsers

  • Executing Automation Test Cases in multiple browsers Sequentially
  • Working with Chrome and IE browsers
  • What is Firefox Profile and Implementation of Firefox Profile
  • What is WebDriver Desired Capabilities class
  • Executing Automation Test Cases in multiple browsers Parallel

Maven Project Management Tool

  • Introduction about maven
  • High-Level Overview
  • Ant vs Maven
  • Installation of Maven
  • Demo using Sample Maven Project
  • Maven Structure
    1. Introduction of Maven Folder Structure.
    2. The xml
    3. Dependencies
    4. Goals
    5. Local Reo Structure
    6. Defaults
    7. Sample Demo of Build Session of Maven Project

Maven Dependencies

  • Dependency version
  • Versions
  • Types
  • Transitive Dependencies
  • Scopes

Maven Repositories

  • What is a Repository
  • Dependency Repository
  • Adding a Repository
  • Plugin Repository

Maven Eclipse Integration

  • Demo Installation
  • Importing Projects
  • Converting Existing Projects
  • Pom Viewer
  • Effective Pom

Version controlling tool GITHUB

  • Downloading and configuring Github
  • Difference between CVC Versus DVC
  • Basic Git Commands
  • Working with Repositories
  • Setting up Repositories
  • Local and Remote Repositories
  • Create repository and cloning projects
  • Committing and Syncing the code
  • Reverting and Rolling Back the Code
  • Branch and Merging Concepts and Implementation
  • Stashing Changes
  • Resolving the Conflicts

Database testing using web driver

  • Installing MySQL Database
  • SQL package
  • Overview on Connection Interface, Statement Interface, Prepared Statement and Result set
  • Example program to Access
  • Some examples on SELECT, UPDATE and DELETE queries
  • Some Web driver examples using Data fetched from Database

Automation Test Frame Work
How to develop Test automation frame work in live environment

  • What is a frame work
  • Types of frame work
  • Data driven frame work
  • Modular driven frame work
  • Keyword driven frame work
  • User Defined Keyword driven framework with implementation
  • Execute test scripts from the framework