Test Automation using Selenium

This training program would be delivered as an instructor led program that would be conducted at the client location.
The course is a mix of case driven, instructor-led, and self-paced learning, designed to enable participants learn, experiment and implement the concepts involving the Functional Testing using Selenium Tool. The participants will be presented with ample examples, exercises and case studies to understand and apply the concepts taught.

Deliverable

  • Faculty Member for the training program
  • Master copy of the course notes [Hard Copy Format]
  • Case Study Copies
  • Course Handouts, if any

Take aways

The participants will take away:

  • Certificate of Completion from QAI
  • Case studies
  • A huge amount of practical exercises

Objectives

After completing this course, you will be able to:

  • Learn about Selenium and its architecture
  • Set-up JAVA, Eclipse, and Selenium Environment and configure them
  • Handling Synchronizations
  • Handle different controls on a Webpage
  • Validate page content using Selenium Web Driver API
  • Perform Cross browser testing
  • Implement TestNG
  • Perform distributed testing using Selenium GRID
  • Describe Page Object Modeling
  • Learn Parameterization and different frameworks
  • Understand Tools such as Jenkins and Maven

The course is targeted at individuals who intend to become an expert in Selenium to test the  application effectively should enroll in this course, including:

  • Novice Engineers / Quality Assurance Specialists
  • Software developers / Senior Developers
  • Test Engineers / Senior Test Engineers
  • Project / Development / Test Managers
  • Project / Development / Test Leads
  • Anyone involved in testing activities

Anyone in the above role, in any industry or domain with the basic OOPS knowledge can attend this course.

Fundamentals of Selenium Webdriver

  • Why WebDriver?
  • How WebDriver Works
  • Installing and Configuring Eclipse for Web Driver
  • Downloading web driver Jars configuring in eclipse
  • Architecture of selenium WebDriver
  • Drivers for Firefox, IE, Chrome, iOS, Android etc

Basics of Webdriver

  • Introduction to Web Driver
  • Selenium Project Creation
  • Create first Selenium Script
  • Selenium WebDriver Commands
  • Browser Open and Close commands
  • Browser Navigation commands
  • Implementing WebDriver with HtmlUnit
  • Working with Firefox Browser
  • Working with Chrome Browser
  • Working with IE Browser
  • Maximizing Browser window in WebDriver
  • Common issues while opening url in different Browsers and Solutions
  • Using JAVA
  • Debugging Selenium WebDriver Script

Object identification in webdriver

  • Finding an Element
  • Finding Elements
  • Identifying object through Name
  • Identifying object through ID
  • Identifying object through Tag name
  • Identifying object through Class Name
  • Identifying object through link Text / partial Link Text
  • Identifying object through Xpath
  • Identifying object through CSS Selector
  • Creating Dynamic XPath

Synchronizing Test & Handling pop-up

  • Creating Implicit wait and explicit wait
  • Using Sleep Method
  • Handling Pop-up window | JavaScript | Confirm box | Prompt box

Selenium API

  • Handling Hyper Link | Text box
  • Handling Button and Check box
  • Handle Radio Button and Drop Down Controls
  • Select value from Drop Down
  • Display all values
  • Capture screenshots
  • Synchronization Commands In Web Driver
  • Using Keyboard actions | Mouse actions
  • Preparing web driver test cases using customized x-path
  • Handling Web Tables
  • Managing Windows and Frames
  • Understanding Cookies
  • File Uploading and Downloading in WebDriver
  • Page Object Model
  • Handling Exceptions
  • Customizing Tests and Batch Running
  • Cross Browser Testing
  • Parameterizing Script with Arrays
  • Parameterizing Script using Excel through POI
  • Use external Data for Testing (Excel sheet , xml files)

Selenium WebDriver WITH JUNIT

  • Importance of JUNIT in WebDriver
  • Creating and Running WebDriver JUnit tests
  • Annotations in JUnit @Before, @After and @Test tags and best practices in JUnit framework
  • Implementing assertions – assert True, assert False, assert Equals assert Not Equals etc

Selenium WebDriver using TESTNG

  • Overview of TestNG
  • Environment of TestNG
  • Writing WebDriver Test Cases using TestNG
  • Basic Annotations of TestNG
  • Executing Tests | Executing Test Suites
  • Creating Dependency Test
  • Parameterized Tests
  • Report Generation
  • Lab Sessions | Practice Exercises | Quiz

Going Back to Work with a Plan

  • Identifying your goals
  • Next steps