Selenium with Java

Abstract

Nowadays, there has been a huge demand for selenium testers, specially based on the object oriented java platform. Selenium detailed Training Course that helps you master in Automating test cases using Selenium. You will learn about the Selenium IDE, WebDriver,TestNG along with Continuos Integration Process using Maven, Jenkins and Git, Github.

TOPICS

Module-1: Overview on Automation & Selenium

  • What is Software Testing?
  • Manual Testing & its challenges
  • Challenges in Manual testing
  • Automation Testing beats Manual testing
  • Selenium as an automation testing tool
  • Advantages and Disadvantages in Selenium
  • Selenium V/s Other Tools
  • Selenium Suite of Tools

Module-2: Java Essentials for Selenium

  • Download and install Java
  • Setup Java Environment
  • Download and install Eclipse
  • How to use Eclipse
  • Basic Java Program
  • Compile and run a Java program
  • Understanding console output
  • Java Variables and Data Types
  • Java Operators
  • Conditional statements
  • Loops
  • Break and continue
  • Arrays
  • Single Dimensional array
  • Double Dimensional array
  • String Class
  • String methods

Module-3:Java OOPS Concepts

  • Classes and Objects
  • Java methods
  • Passing parameters to the methods
  • Call by value and call by reference
  • Java Constructor
  • Method Overloading
  • Constructor Overloading
  • this keyword
  • Static variables and methods
  • Java Inheritance
  • Method Overriding
  • super keyword
  • final keyword
  • Java Interfaces
  • Java Packages
  • Access Modifiers
  • Exception Handling
  • Java Collections
  • List
  • Set
  • Hash Map
  • JDBC

Module-4: Selenium WebDriver

  • Introduction to WebDriver and architecture
  • WebDriver features and drawbacks
  • Selenium Webdriver Jars download and configure
  • Create WebDriver Project in Eclipse
  • Create WebDriver test case
  • Execute test case on multiple browsers
  • Locators in Selenium
  • Types of Locators
  • Working with SelectorsHub
  • XPath in-detailed
  • Difference Between Absolute And Relative Xpath
  • Writing XPath
  • Built-in functions in XPath
  • Handling Dynamic elements using Xpath
  • WebDriver commands
  • Browser commands
  • Get commands
  • Navigation commands
  • Conditional commands
  • Wait Commands
  • Implicit, Explicit and Fluent Waits
  • Handling Web Elements
  • Textbox/Input box
  • Web Button
  • Radio Button
  • Checkbox
  • Dropdown box/List box
  • Links
  • Alerts/Popups
  • Iframes
  • Browser windows
  • Date Picker
  • Web Tables
  • Scroll Web page
  • Handling Mouse Actions using Actions class
  • Handling Keyboard Actions
  • Upload & Download Files
  • Handling cookies
  • Browser Profiles
  • Selenium Headless Browser Testing

Data Driven Testing

  • What is data driven testing?
  • Usage of Apache POI API
  • Read data from Excel file
  • Write data into Excel file
  • Excel Utilities Class
  • Data Driven testing using Microsoft Excel
  • Data Driven Testing using Database
  • Data Driven Testing using Java Hash Map

Module-5: TestNG

  • TestNg Introduction and Advantages
  • Configuring TestNg in Project/Eclipse
  • How to write TestNG Test case
  • TestNg annotations
  • Understanding testng.xml
  • TestNG Report
  • Prioritizing tests
  • dependsOnMethods
  • Skipping tests
  • Grouping methods
  • TestNG batch testing
  • How to Parameterize Tests
  • Passing parameters using xml
  • Parallel testing
  • Data Provider
  • TestNG Listeners

Module-6: Advanced Concepts

  • Selenium Grid
  • Capturing screenshots
  • Extent reports
  • Log4j2 for logging
  • Page Object Model – Page Factory

Module-7: Maven integration with Selenium

  • What is Maven and Why Maven?
  • Installing/Configuring Maven
  • Creating Maven Project
  • Importing Maven Project into Eclipse
  • What is POM.xml?
  • Adding Dependencies to POM.xml

Module-8:Live Project – Selenium Hybrid Framework (POM)

  • What is Framework?
  • Types of Frameworks
  • Prerequisites for designing frameworks
  • Implementation of Hybrid Driven Framework
  • Creating Maven Project
  • Update pom.xml with dependencies
  • Creating page objects and Object repository
  • Creating utility files
  • Setting up configuration files
  • Creating automation test scripts
  • Creating data driven test scripts
  • Generating extent reports
  • Generating logs using log4j
  • Execute test scripts using TestNG XML File
  • Emailing test reports
  • Execute test scripts through Maven CLI
  • Execute test scripts using bat file

Module-9: CI – Continuous Integration (Git, Github & Jenkins)

  • What is Continuous Integration?
  • Working with Git & Github
  • Git commands
  • Add
  • Commit
  • Push
  • Pull
  • Merge
  • Fetch
  • Code Check-in & CheckOut to GIT
  • Jenkins Overview
  • Maven integration with Jenkins
  • Run selenium test scripts through Jenkins

Module-10: Cucumber

  • Introduction to BDD & Cucumber
  • Setup Cucumber Environment
  • Gherkin – BDD Language
  • Cucumber Feature File
  • Step Definition File
  • JUnit TestRunner Class
  • Cucumber Options
  • Background in Cucumber
  • Data Driven Testing
  • Examples Keyword & Data Tables
  • Cucumber Tags
  • Cucumber Hooks

Interview Questions & Resume Preparation