Course Content in Detail
Different ways of Debugging Selenium IDE Tests
Introduction to Automation & Web Testing
Selenium IDE commands to:
Why we need Automation?
Input data to Web Application – type, check,
What is Automation Testing?
Advantages & Disadvantages of Automation
select commands
Testing
Advantages & Disadvantages of Manual Testing
Automation Criteria (Whether to Automate or Not)
Focusing on Web Applications and Web Testing
Automation for Web Applications
Introduction to Selenium
Retrieve data from Web Application – store commands
Wait for Web Application events – waitFor commands
Assert/Verify Web Application behaviour or state – assert/verify commands and how to use them
Print in the logs – echo command
Capturing screenshots
Exercises on Selenium IDE
What is Selenium?
Selenium Features
Selenium IDE
Introduction to JAVA
Selenium WebDriver
JAVA features
Selenium RC
Why Java for Selenium?
Selenium Grid
Installing & Configuring JAVA
Selenium IDE vs WebDriver vs Grid
Introduction to Eclipse
Installing & Configuring Eclipse
Eclipse Workspace Basics
Selenium IDE – In Depth for your Job
Starting with JAVA & Eclipse
Installing Firefox and Firebug
Creating a JAVA Project in Eclipse
Installing and Opening Selenium IDE
Starting with a JAVA Program
Starting with test cases and test suites
Selenium IDE UI, Menu Bar, Options and
JAVA Comments
Advanced Settings
Useful Eclipse Features
(Creation/Execution)
Different Elements of a Test Case – Command, Target, Value
Starting with Selenium WebDriver
Selenium IDE – Locating Strategies – By
Introduction to Selenium WebDriver
Identifier, ID, Name, XPath in detail, CSS, DOM
Selenium WebDriver Features
Recording and Different ways of Building Test
How Selenium WebDriver works?
Cases
Architecture of selenium webdriver
Different ways of Running Test Cases
Selenium WebDriver Interface and different
JAVA Keywords
Drivers
Arrays
Downloading & Configuring Selenium WebDriver
JAVA Operators
in Eclipse
Simple Assignment Operator
Starting with a Selenium WebDriver Test Case
Arithmetic Operators
(Creation/Execution)
Increment/Decrement Operators
Executing on different browsers –
Equality and Relational Operators
Firefox/IE/Chrome
Conditional Operators
Javadoc and API docs for Selenium WebDriver
Conditions and Loops
Importing Selenium WebDriver documentation in
Condition Statements: If, If-else, If-else ladder
Eclipse
Loops: While, For, For Each
Web Elements
Working with JAVA List class (group of web
What are Web Elements
WebElement Interface
Working with Strings
Identifying Web Elements/Objects in a WebPage
String class and its functions
Different Locator Strategies:
Comparison functions
By ID
Contains, Starts with, Ends with functions
By Name
How to get a number in a string message?
By Link
How are Data Types, Operators, Conditions,
By PartialLink
Lists, Loops, Strings used in Selenium
By XPath
Automation?
By CSS Selector
How are Eclipse Workspace folders organized?
By Tag
Exercises on JAVA and Selenium WebDriver
By Class
Locating By XPath – In Depth
X-Path Absolute
X-Path Attribute
Classes and Objects
X-Path Relative
Declaring Classes
Web Element/Object Inspecting Tools for
Declaring Member Variables or Fields
different browsers
Defining Methods/Functions with Input
elements)
Using JAVA Classes, Objects, Inheritance, Interfaces with Selenium
Parameters Using JAVA Data Types, Operators,
Creating Objects
Conditions, Loops with Selenium
Using Objects, Member Variables, Methods
Primitive Data Types
Returning a Value from a Method
Variables
Using Classes and Objects in Selenium
Automation
Junit Test Suites to group and run multiple tests together
How Value Types and Reference Types Work
When you declare them
When you pass them as arguments
Call by Value and Call by Reference
Introduction to TestNG
Providing Constructors for your Classes
Differences between JUnit &TestNG
Using This Keyword
Setting up TestNG in Eclipse
Static and Non Static Variables, Methods
TestNG Annotations
Inheritance
TestNG Assertions
How inheritance works?
Starting with a Selenium &TestNGTestcase
Inheriting variables, methods, types
Overriding and Hiding Methods
AnalysingTestNG test results
Polymorphism
TestNG HTML reports
Writing Final Classes and Methods
Selenium+JAVA+TestNG+Eclipse together in
Abstract Classes & Methods
How Interfaces work?
Ignoring and Skipping required tests
Packages – how they work/creating/accessing
Parameterizing Selenium Tests in TestNG using
Concept of jar file
How Classes, Objects, Methods, Inheritance,
Using TestNG with Selenium
(Creation/Execution)
action
DataProvider
Exercises on JAVA and Selenium WebDriver
TestNG Test Suites to group and run multiple tests together
Interfaces used in Selenium Automation?
Exercises on JUnit and Selenium WebDriver
Exercises on TestNG and Selenium WebDriver
Using Ant to run Selenium Tests
Using JUnit with Selenium
Introduction to JUnit
Introduction to Ant
Setting up JUnit in Eclipse
Downloading & Configuring Ant for Selenium
JUnit Annotations
Creating & Working with Ant Build.xml file
JUnit Assertions
Running JUnit tests with Ant and report
Starting with a Selenium & JUnit Testcase (Creation/Execution)
generation
Running TestNG tests with Ant and report generation
Analysing JUnit test results
Selenium+JAVA+JUnit+Eclipse together in
More focus on Results and Reports
action
Building a BAT file to run tests easily using ANT
Disabling/Ignoring required tests Selenium WebDriver – In Depth for your Job – Part 1
(Input Tags, Links, Drop Down Lists, Multiple Web Elements, Web Tables)
Selenium WebDriver – In Depth for your Job
Web Elements
– Part 2
What are Web Elements
( JavaScript Alerts, Waits, AJAX Web
WebElement Interface
Basic Web Element Commands
Check whether a Web Element is displayed or is enabled
Getting Attributes
Getting the visible text
Getting the width and height
Clicking on a Web Element
Checking whether a Web Element exists or not
Handling input tags
Test Boxes
Buttons
Check Boxes
Checkbox.java helper class to easily work with any check box
Radio Buttons
Handling Links
Extracting Web Elements from a specific area or parent in web page
Handling Static and Dynamic Drop Drown Lists
Handling multiple or group of Web Elements
Handling Static and Dynamic Web Tables
WebTable.java helper class to easily work with
Applications, File Attachments, Multiple Browser Windows & Tabs)
Handling JavaScript Alerts, Popup Boxes
Handling Implicit and Explicit Waits for Selenium
Implicit Wait vs Explicit Wait
Using Implicit Wait and Explicit Wait for dynamic web elements
Handling AJAX and Dynamic HTML Web Applications
Handling Hidden Web Elements
Capturing Screenshots
Handling file attachments with Selenium
Handling Browser Window
Maximizing the browser
Getting and Setting width, height
Handling Popup Windows, Multiple Windows and Browser Tabs
Java Set interface & window handle collection
Difference between driver.close(), driver.quit()
Exercises on Selenium WebDriver
Hybrid Automation Framework – Part 1 – Page Objects Framework
any web table
Selenium Live E-Commerce Web Project
Handling Browser Navigation – Go Back, Go
What is Page Objects Framework?
Forward, Refresh
Why you should use Page Objects Framework?
Commands to get
Selenium Automation Framework Architecture &
Page Title
Current URL
HTML Source Code
Exercises on Selenium WebDriver
Layers
Automation & Page Objects Framework Guidelines
Building the Page Objects Framework for a E-
Setting up Apache POI API in Eclipse
Commerce Website
Reading specific cells
Developing Page Object Classes for web pages
Creating a sheet/row/cell
Integrating Page Objects Classes together like a
Writing to specific cells
E-Commerce Website
NullPointerException handling for blank
Writing self explanatory code for test cases using Page Objects
rows/cells
Creating reusable Excel Helper class to
Executing test cases
Using inheritance in the framework
To reuse the code
For easy maintenance
Creating Test Cases and Test Data in Excel
Developing Page Base class
Automating the Test Cases with Selenium
Developing Test Base class
Using JAVA Properties file for test configuration/
Developing Required JAVA Function Libraries
settings
Developing Data Driven Helper class to help
read/write from Excel files
Building the Data Driven Framework for a ECommerce Website
WebDriver using Page Objects Framework
Developing WebDriver Helper class
Running Tests on different browsers
Reading the Test Data from Excel files
Firefox
Applying Excel Test Data to Web Elements as
Chrome
Internet Explorer
Framework usage in real world
data driven testing
per Test Case
Running the Automated Tests with different sets of Test Data
Moving shared code to TestBase class for easy maintenance, reusability
Developing a single data provider method for all test cases for easy maintenance, reusability
Using JAVA properties file to specify Test Data Excel file, Test Data Excel Sheet
Hybrid Automation Framework – Part 2 – Data Driven Framework Selenium Live E-Commerce Web Project Overview of Selenium Grid
What is Data Driven Framework?
Why you should use Data Driven Framework?
Read/Write from Excel files using Apache POI
Selenium Grid Overview
Downloading & Setting up Selenium Grid
Running Tests on a remote machine using
API
RemoteWebDriver& Selenium Server Downloading Apache POI API
Contact us:HNo:3-7, 4th Floor, Syndicate Bank Building, Nizampet, Hyderabad - 500090 India Call@+91-9553406450 / +91-9666993220 / +91-40 4006 1338 Email:-info@akirait.com Get More:-http://www.akirait.com