SlideShare a Scribd company logo
Selenium Course Content
Training Day – 1: Java Introduction
 Selenium Overview
 Installing Java
 Installing Eclipse
 Features of Java
 Why Java for Selenium
 First Eclipse Project
 First Java program
 Concept of class file
 Platform independence
 Data types in Java
 String class
 If statements
Training Day - 2: Loops, Arrays and Functions
 Conditional and concatenation operators
 While Loop
 For Loops
 Practical Examples with loops
 Usage of loops in Selenium
 Single Dimensional Arrays
 Two Dimensional arrays
 Practical usage of arrays in Selenium
 Drawbacks of arrays
 What are Functions?
 Function Input Parameters
 Function Return Types
Training Day – 3: Object Oriented Programming- 1
 Local Variables
 Global Variables
 Static and Non-Static Variables
 Static and Non-Static Functions
 Creating Objects in Java
 Meaning of static
 Why is main method static?
 Object and Object References
 Call by reference and Value
 Constructors
 Usage of Objects in Selenium
Training Day – 4: Object Oriented Programming -2
 Concept of Inheritance
 Interface
 Overloading and Overriding Functions
 Example on inheritance
 Object Class
 Usage of Inheritance in Selenium
Training Day – 5: Packages, Access Modifiers/ Exception Handling
 Relevance of Packages
 Creating Packages
 Accessing Classes Across Packages
 Good Features of eclipse
 Accessing modifiers - Public, Private, Default, Protected
 Exception handing with try catch block
 Importance of exception handling
 Exception and Error
 Throwable Class
 Final and Finally
 Throw and Throws
 Different Types of Exceptions
 Need of exception handling in Selenium framework
Training Day – 6: Collection API/Reflection API
 Introduction to Collections API
 ArrayList Class
 HashTable Class
 Using ArrayList and HashTable of Collection API in Selenium framework
 Reflection API usage and importance
 Using Reflection API to make keyword driven Selenium framework
Training Day – 7: String, File Handling, Log4j, /Handling XLS files
 String class and functions
 Reading/Writing Text Files
 Reading Properties File in Java
 Concept of jar file
 POI API in java
 Reading/Writing Microsoft XLS Files
 Log4j API for Logging
 Usage of Log4J in Selenium
Training Day – 8: JUnit 4 Framework / ANT
 What is JUNIT
 Configuring Junit 4 in Project/Eclipse
 Junit 4 annotation
 Running Test in Junit
 Skipping Tests
 Parameterizing Tests
 Using Assertions
 Reporting Errors / ErrorCollector
 Batch Running - Custom Runners
 What is Ant
 Downloading and configuring Ant
 Build.xml configuration
 HTML Report generation using Ant
 Building a BAT file to run tests using ANT
Training Day – 9: TestNg Framework / ANT
 What is TestNg
 Installing TestNg in Eclipse
 TestNg annotations
 Understanding usage of annotations
 Running a Test in TestNg
 Batch Running of tests in TestNg
 Skipping Tests
 parameterizing Tests - DataProvider
 Assertions/Reporting Errors
 TestNg Reports
 Advantages over Junit
 Using TestNg in Selenium
 What is Ant
 Downloading and configuring Ant
 Build.xml configuration
 XSLT report generation generation using TestNg and Ant
 Building a BAT file to run tests using ANT
Training Day – 10: Selenium WebDriver - 1
 Why WebDriver?
 Downloading WebDriver Jars and configuring in eclipse
 Architecture of selenium webdriver
 Drivers for Firefox, IE, chrome, Iphone, Android etc
 First Selenium Code
 Working with chrome and IE
 Selenium RC and WebDriver
 Concept of firefox profile
 What is Firefox profile
 Why we need firefox Profile
 Close and Quit -Difference
 Importing webdriver documentation in eclipse
 WebDriver DesiredCapabilities Class
 Proxy settings with webdriver/Working with proxy Servers
 HTMLUnit driver and desired capabilities
Training Day – 11: Selenium WebDriver - 2
 Firepath and firebug Add-ons installation in Mozilla
 Inspecting elements in Mozilla, Chrome and IE
 HTML language tags and attributes
 Various locator strategies
 WebDriver Interface
 WebElement Interface
 Identifying WebElements using id, name, class
 Finding Xpaths to identify
 Absolute and complete Xpaths
 Creating customized Xpaths without firebug
 CSS Selectors
 Generating own CssSelectors
 Performance of CssSelectors as compared to Xpaths
 Finding xpaths/cssselectors in different browsers - Mozilla, Chrome and IE
 Objects with same id/xpath/cssSelector
 What is class attribute?
 Handling Dynamic objects/ids on the page
 Working with different browsers without changing code
Training Day – 12: Selenium Webdriver - 3
 Managing Input fields, Buttons and creating custom xpaths
 Managing/Identifying Links with xpaths/css selectors
 Extracting More than one object from a page
 Extracting all links of a page/Bulk extraction of objects
 Extracting Objects from a specific area of a web page
 Various strategies to test Links on a page by clicking on them one by one
 Finding response Headers/ response code
 Finding whether object is present on page or not
 Handling drop down list
 Select Class in Selenium API
 Managing radio buttons and Checkboxes
 Hidden components
 isDisplayed function
 Taking Screenshots of the web pages
 How to Google out errors-Self sufficiency
 Exercises
Training Day – 13: Selenium WebDriver - 4
 Implicit and Explicit waits
 PageLoadTimeout Property
 WebDriverWait Class
 WebDriver.Timeout Interface
 ExpectedCondition interface and ExpectedConditions class
 WaitUntil Condition
 Fluent Wait
 Managing Ajax based components
 Concepts of Set Interface in Java
 Window Handles
 Managing tabbed windows in IE, Chrome and Mozilla
 Managing popups in IE, Chrome and Mozilla
 Closing windows
 Default Popups
 Testing https websites / Managing certificate errors in https websites in IE, Chrome and Mozilla
Training Day – 14: Selenium 2.0 Features - 1
 Extracting Data From WebTable
 Dynamic WebTable Handling
 Attaching files with Selenium
 Changing your facebook profile picture by attaching new picture
 Mouse movement with Selenium- Mouse Interface
 Handling Ajax Autosuggests
 Handling Google Ajax Autosuggests
 Handling Frames in Web Page
 Handling cookies
 More Examples on Webtables
 Webtables and css Selectors - NEW
 Building custom functions for Webtables - NEW
 Managing Javascript alerts - NEW
Training Day – 15: Selenium 2.0 Features - 2
 Simulating front and back button click on Browser using selenium
 Assigning Firefox profile parameters
 Downloading files using selenium
 Selenium JavaDocs
 Listeners- Using WebDriverEventListener
 Practical usage of Listeners in Selenium
 Moving a mouse on a Object and right clicking on it
 Finding Coordinates of a Web Object
 Actions class in Webdriver- - NEW
 Handling CSS menu with Action class- - NEW
 Handling CSS menu with JavaScriptExecutor- - NEW
 JavaScriptExecutor example- - NEW
 Drag, drop, native events- - NEW
Training Day – 16: Selenium 2.0 - Exercises
 Dynamic Objects Exercises
 Example 1 - Gmail.com: Print the gmail's increasing space
 Example 2 - Check Links on Quikr.com
 Example 3 - Scrolling the page side bar
 Example 4 - Print names of all facebook friends
 Example 5 - Count/Verify items in shopping cart
 Example 6 - demo.virtuemart.com Exercise- - NEW
Training Day – 17: Junit and Data Driven Framework
 Overview of Data driven framework
 Building the Test Base Class
 Using Annotations of Junit
 Reading XPATHS, Configuration from properties file
 Initialize the Webdriver
 Building the Test Base Class
 Implementing WebDriver Implicit Wait
 Implementing tests and batch running them
 Repeating a test with different Data
 Building utility functions
 Parameterizing tests using XL Files
 Controlling Execution order from XL Files
 Assertions and Reporting Errors / ErrorCollector
 Storing Screenshots of errors
 Running the framework through ANT
 Generating the HTML reports
 Emailing test reports
 Creating a BAT file for project execution
Training Day – 18: Junit and Hybrid (Keyword+Data) Framework
 Overview of Hybrid(Keyword+Data Driven) Framework
 Building XLS File Having Test Cases and Keywords
 Building XLS File Having Test Data
 Building Base class
 Reading XPATHS, Configuration from properties file
 Implementing ImplicitWait
 Implementing the keywords using the reflection API
 Implementing tests
 Assertions and Reporting Errors
 Parameterizing tests using DataProvider and XL Files
 Repeating a test with different Data
 Running the framework through ANT
 Generating the reports
 Emailing test reports
 Creating a BAT file for project execution
 Exercises
 Interview Questions
Training Day – 19: TestNg and Data Driven Framework
 Overview of Data driven framework
 Building the Test Base Class
 Using Annotations of TestNg
 Reading XPATHS, Configuration from properties file
 Initialize the Webdriver
 Implementing WebDriver Implicit Wait
 Implementing tests and batch running them
 Repeating a test with different Data
 Implement logging with Log4J API
 Building utility functions
 Parameterizing tests using XL Files
 Controlling Execution order from XL Files
 Assertions and Reporting Errors
 Storing Screenshots of errors
 Running the framework through ANT
 Generating the XSLT reports
 Creating a BAT file for project execution
 Emailing Test Reports
Training Day – 20: TestNg and Hybrid (Keyword+Data) Framework
 Overview of Hybrid Framework
 Building XLS File Having Test Cases and Keywords
 Building XLS File Having Test Data
 Building Base class
 Reading XPATHS, Configuration from properties file
 Implementing WebdriverWait
 Implementing the keywords using the reflection API
 Implementing tests
 Assertions and Reporting Errors
 Parameterizing tests using DataProvider and XL Files
 Repeating a test with different Data
 Running the framework through ANT
 Generating the reports
 Emailing test reports
 Creating a BAT file for project execution

More Related Content

What's hot (20)

PPT
Automated Web Testing Using Selenium
Weifeng Zhang
 
PPTX
Introduction to selenium
Archana Krushnan
 
PDF
Efficient Automated Test Creation With Selenium IDE Plugins
Samit Badle
 
PPS
Selenium Demo
ankitslide
 
PPTX
Selenium topic 1- Selenium Basic
ITProfessional Academy
 
PPTX
Selenium topic 3 -Web Driver Basics
ITProfessional Academy
 
PPT
Selenium ppt
Naga Dinesh
 
PPTX
Selenium introduction
Pankaj Dubey
 
PPTX
Automation - web testing with selenium
Tzirla Rozental
 
PPT
Selenium
Kalyan ch
 
PDF
Automated Web Testing With Selenium
Deepak Mittal
 
PPTX
Selenium Webdriver
Muhammad Bilal
 
PPT
QSpiders - Automation using Selenium
Qspiders - Software Testing Training Institute
 
PPT
Web Test Automation with Selenium
vivek_prahlad
 
PPTX
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
Simplilearn
 
PPTX
Selenium test automation
Srikanth Vuriti
 
PPTX
Selenium WebDriver training
Vijay Krishnan Ramaswamy
 
PDF
Selenium WebDriver with C#
srivinayak
 
PPTX
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
Simplilearn
 
PPTX
Selenium - Introduction
Sachin-QA
 
Automated Web Testing Using Selenium
Weifeng Zhang
 
Introduction to selenium
Archana Krushnan
 
Efficient Automated Test Creation With Selenium IDE Plugins
Samit Badle
 
Selenium Demo
ankitslide
 
Selenium topic 1- Selenium Basic
ITProfessional Academy
 
Selenium topic 3 -Web Driver Basics
ITProfessional Academy
 
Selenium ppt
Naga Dinesh
 
Selenium introduction
Pankaj Dubey
 
Automation - web testing with selenium
Tzirla Rozental
 
Selenium
Kalyan ch
 
Automated Web Testing With Selenium
Deepak Mittal
 
Selenium Webdriver
Muhammad Bilal
 
QSpiders - Automation using Selenium
Qspiders - Software Testing Training Institute
 
Web Test Automation with Selenium
vivek_prahlad
 
Selenium IDE Tutorial For Beginners | Selenium IDE Tutorial | What Is Seleniu...
Simplilearn
 
Selenium test automation
Srikanth Vuriti
 
Selenium WebDriver training
Vijay Krishnan Ramaswamy
 
Selenium WebDriver with C#
srivinayak
 
What Is Selenium? | Selenium Basics For Beginners | Introduction To Selenium ...
Simplilearn
 
Selenium - Introduction
Sachin-QA
 

Viewers also liked (20)

PDF
Selenium Automation Framework (SAF).
Mindtree Ltd.
 
PPTX
Unit testing and junit
Ömer Taşkın
 
PPTX
Parallel Testing with Python with Selenium and Sauce Labs
Sauce Labs
 
PDF
Selenium Overview
Abhijeet Vaikar
 
PPTX
Introduction To J unit
Olga Extone
 
PPTX
Selenium ide made easy
Narayanan Palani
 
PPTX
Java Unit Testing
Nayanda Haberty
 
PPS
Why unit testingl
Priya Sharma
 
PPTX
Continuous Testing and New Tools for Automation - Presentation from StarWest ...
Sauce Labs
 
PPTX
Advanced Visual Test Automation With Selenium
adamcarmi
 
PDF
Unit testing with Junit
Valerio Maggio
 
PDF
Automation framework using selenium webdriver with java
Narayanan Palani
 
PDF
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
Sauce Labs
 
ODP
Testing In Java
David Noble
 
PPTX
JUnit- A Unit Testing Framework
Onkar Deshpande
 
PDF
Unit testing with JUnit
Thomas Zimmermann
 
PPTX
Improving Your Selenium WebDriver Tests - Belgium testing days_2016
Roy de Kleijn
 
PPS
JUnit Presentation
priya_trivedi
 
PDF
Selenium webdriver interview questions and answers
ITeLearn
 
DOCX
Realtime selenium interview questions
Kuldeep Pawar
 
Selenium Automation Framework (SAF).
Mindtree Ltd.
 
Unit testing and junit
Ömer Taşkın
 
Parallel Testing with Python with Selenium and Sauce Labs
Sauce Labs
 
Selenium Overview
Abhijeet Vaikar
 
Introduction To J unit
Olga Extone
 
Selenium ide made easy
Narayanan Palani
 
Java Unit Testing
Nayanda Haberty
 
Why unit testingl
Priya Sharma
 
Continuous Testing and New Tools for Automation - Presentation from StarWest ...
Sauce Labs
 
Advanced Visual Test Automation With Selenium
adamcarmi
 
Unit testing with Junit
Valerio Maggio
 
Automation framework using selenium webdriver with java
Narayanan Palani
 
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
Sauce Labs
 
Testing In Java
David Noble
 
JUnit- A Unit Testing Framework
Onkar Deshpande
 
Unit testing with JUnit
Thomas Zimmermann
 
Improving Your Selenium WebDriver Tests - Belgium testing days_2016
Roy de Kleijn
 
JUnit Presentation
priya_trivedi
 
Selenium webdriver interview questions and answers
ITeLearn
 
Realtime selenium interview questions
Kuldeep Pawar
 
Ad

Similar to Selenium webdriver course content rakesh hansalia (20)

PDF
Selenium training12 1
AmanCSE1
 
PDF
Selenium training-course-content
AmanCSE1
 
PDF
Selenium training12 1
AmanCSE1
 
PDF
Selenium syllabus
RM Infotech (P) Ltd Training
 
PDF
Selenium Online Training
Nagendra Kumar
 
DOC
Selenium course syllabus
lakshmipriyaaka
 
PPT
4.1 Selenium_Course_Content.ppt
UnknownGuy41
 
PPT
Selenium_Course_Contenttttttttttttttttt.ppt
AshishKumar512860
 
PPT
Selenium-Course-Content.ppt
MohammedSuhale
 
PPTX
Selenium online training
mindmajixtrainings
 
PDF
Testing course content converted
ShreemInstituteProfe
 
PPTX
Selenium training in pune course content advanto software
Advanto Software
 
PDF
Android testing-with-selenium-webdriver Online Training
Nagendra Kumar
 
PDF
Selenium Online Training.pdf
SpiritsoftsTraining
 
PDF
Selenium Online Training.pdf
SpiritsoftsTraining
 
PDF
Selenium Online Training.pdf
SpiritsoftsTraining
 
PDF
Selenium Online Training.pdf
SpiritsoftsTraining
 
PDF
Selenium Online Training.pdf
SpiritsoftsTraining
 
PPTX
Selenium Online Training
Learntek1
 
PDF
Selenium-with-Java-Course-Content-Magnitia.pdf
AnanthReddy38
 
Selenium training12 1
AmanCSE1
 
Selenium training-course-content
AmanCSE1
 
Selenium training12 1
AmanCSE1
 
Selenium syllabus
RM Infotech (P) Ltd Training
 
Selenium Online Training
Nagendra Kumar
 
Selenium course syllabus
lakshmipriyaaka
 
4.1 Selenium_Course_Content.ppt
UnknownGuy41
 
Selenium_Course_Contenttttttttttttttttt.ppt
AshishKumar512860
 
Selenium-Course-Content.ppt
MohammedSuhale
 
Selenium online training
mindmajixtrainings
 
Testing course content converted
ShreemInstituteProfe
 
Selenium training in pune course content advanto software
Advanto Software
 
Android testing-with-selenium-webdriver Online Training
Nagendra Kumar
 
Selenium Online Training.pdf
SpiritsoftsTraining
 
Selenium Online Training.pdf
SpiritsoftsTraining
 
Selenium Online Training.pdf
SpiritsoftsTraining
 
Selenium Online Training.pdf
SpiritsoftsTraining
 
Selenium Online Training.pdf
SpiritsoftsTraining
 
Selenium Online Training
Learntek1
 
Selenium-with-Java-Course-Content-Magnitia.pdf
AnanthReddy38
 
Ad

More from Rakesh Hansalia (11)

PDF
Pre-Launch Website Testing Checklist
Rakesh Hansalia
 
DOCX
Fresher interview question for software testing (QA) manual + basic automation
Rakesh Hansalia
 
PDF
Selenium Webdriver Commands
Rakesh Hansalia
 
PDF
How to create Xpath, CSS, DOM for your Selenium script
Rakesh Hansalia
 
DOCX
How does the QA team prepare test cases for Data Warehouse (BI) projects?
Rakesh Hansalia
 
DOCX
Types of testing done in a Data Warehouse project
Rakesh Hansalia
 
DOCX
Bi report testing Ver. 01
Rakesh Hansalia
 
DOCX
Software testing myths
Rakesh Hansalia
 
DOCX
Valuable information that you should share with world
Rakesh Hansalia
 
DOC
QL- roles responsibilities
Rakesh Hansalia
 
DOC
Data Warehouse (ETL) testing process
Rakesh Hansalia
 
Pre-Launch Website Testing Checklist
Rakesh Hansalia
 
Fresher interview question for software testing (QA) manual + basic automation
Rakesh Hansalia
 
Selenium Webdriver Commands
Rakesh Hansalia
 
How to create Xpath, CSS, DOM for your Selenium script
Rakesh Hansalia
 
How does the QA team prepare test cases for Data Warehouse (BI) projects?
Rakesh Hansalia
 
Types of testing done in a Data Warehouse project
Rakesh Hansalia
 
Bi report testing Ver. 01
Rakesh Hansalia
 
Software testing myths
Rakesh Hansalia
 
Valuable information that you should share with world
Rakesh Hansalia
 
QL- roles responsibilities
Rakesh Hansalia
 
Data Warehouse (ETL) testing process
Rakesh Hansalia
 

Recently uploaded (20)

PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 

Selenium webdriver course content rakesh hansalia

  • 1. Selenium Course Content Training Day – 1: Java Introduction  Selenium Overview  Installing Java  Installing Eclipse  Features of Java  Why Java for Selenium  First Eclipse Project  First Java program  Concept of class file  Platform independence  Data types in Java  String class  If statements Training Day - 2: Loops, Arrays and Functions  Conditional and concatenation operators  While Loop  For Loops  Practical Examples with loops  Usage of loops in Selenium  Single Dimensional Arrays  Two Dimensional arrays  Practical usage of arrays in Selenium  Drawbacks of arrays  What are Functions?  Function Input Parameters  Function Return Types Training Day – 3: Object Oriented Programming- 1  Local Variables  Global Variables  Static and Non-Static Variables  Static and Non-Static Functions  Creating Objects in Java  Meaning of static  Why is main method static?  Object and Object References  Call by reference and Value  Constructors  Usage of Objects in Selenium
  • 2. Training Day – 4: Object Oriented Programming -2  Concept of Inheritance  Interface  Overloading and Overriding Functions  Example on inheritance  Object Class  Usage of Inheritance in Selenium Training Day – 5: Packages, Access Modifiers/ Exception Handling  Relevance of Packages  Creating Packages  Accessing Classes Across Packages  Good Features of eclipse  Accessing modifiers - Public, Private, Default, Protected  Exception handing with try catch block  Importance of exception handling  Exception and Error  Throwable Class  Final and Finally  Throw and Throws  Different Types of Exceptions  Need of exception handling in Selenium framework Training Day – 6: Collection API/Reflection API  Introduction to Collections API  ArrayList Class  HashTable Class  Using ArrayList and HashTable of Collection API in Selenium framework  Reflection API usage and importance  Using Reflection API to make keyword driven Selenium framework Training Day – 7: String, File Handling, Log4j, /Handling XLS files  String class and functions  Reading/Writing Text Files  Reading Properties File in Java  Concept of jar file  POI API in java  Reading/Writing Microsoft XLS Files  Log4j API for Logging  Usage of Log4J in Selenium
  • 3. Training Day – 8: JUnit 4 Framework / ANT  What is JUNIT  Configuring Junit 4 in Project/Eclipse  Junit 4 annotation  Running Test in Junit  Skipping Tests  Parameterizing Tests  Using Assertions  Reporting Errors / ErrorCollector  Batch Running - Custom Runners  What is Ant  Downloading and configuring Ant  Build.xml configuration  HTML Report generation using Ant  Building a BAT file to run tests using ANT Training Day – 9: TestNg Framework / ANT  What is TestNg  Installing TestNg in Eclipse  TestNg annotations  Understanding usage of annotations  Running a Test in TestNg  Batch Running of tests in TestNg  Skipping Tests  parameterizing Tests - DataProvider  Assertions/Reporting Errors  TestNg Reports  Advantages over Junit  Using TestNg in Selenium  What is Ant  Downloading and configuring Ant  Build.xml configuration  XSLT report generation generation using TestNg and Ant  Building a BAT file to run tests using ANT
  • 4. Training Day – 10: Selenium WebDriver - 1  Why WebDriver?  Downloading WebDriver Jars and configuring in eclipse  Architecture of selenium webdriver  Drivers for Firefox, IE, chrome, Iphone, Android etc  First Selenium Code  Working with chrome and IE  Selenium RC and WebDriver  Concept of firefox profile  What is Firefox profile  Why we need firefox Profile  Close and Quit -Difference  Importing webdriver documentation in eclipse  WebDriver DesiredCapabilities Class  Proxy settings with webdriver/Working with proxy Servers  HTMLUnit driver and desired capabilities Training Day – 11: Selenium WebDriver - 2  Firepath and firebug Add-ons installation in Mozilla  Inspecting elements in Mozilla, Chrome and IE  HTML language tags and attributes  Various locator strategies  WebDriver Interface  WebElement Interface  Identifying WebElements using id, name, class  Finding Xpaths to identify  Absolute and complete Xpaths  Creating customized Xpaths without firebug  CSS Selectors  Generating own CssSelectors  Performance of CssSelectors as compared to Xpaths  Finding xpaths/cssselectors in different browsers - Mozilla, Chrome and IE  Objects with same id/xpath/cssSelector  What is class attribute?  Handling Dynamic objects/ids on the page  Working with different browsers without changing code Training Day – 12: Selenium Webdriver - 3  Managing Input fields, Buttons and creating custom xpaths  Managing/Identifying Links with xpaths/css selectors  Extracting More than one object from a page
  • 5.  Extracting all links of a page/Bulk extraction of objects  Extracting Objects from a specific area of a web page  Various strategies to test Links on a page by clicking on them one by one  Finding response Headers/ response code  Finding whether object is present on page or not  Handling drop down list  Select Class in Selenium API  Managing radio buttons and Checkboxes  Hidden components  isDisplayed function  Taking Screenshots of the web pages  How to Google out errors-Self sufficiency  Exercises Training Day – 13: Selenium WebDriver - 4  Implicit and Explicit waits  PageLoadTimeout Property  WebDriverWait Class  WebDriver.Timeout Interface  ExpectedCondition interface and ExpectedConditions class  WaitUntil Condition  Fluent Wait  Managing Ajax based components  Concepts of Set Interface in Java  Window Handles  Managing tabbed windows in IE, Chrome and Mozilla  Managing popups in IE, Chrome and Mozilla  Closing windows  Default Popups  Testing https websites / Managing certificate errors in https websites in IE, Chrome and Mozilla Training Day – 14: Selenium 2.0 Features - 1  Extracting Data From WebTable  Dynamic WebTable Handling  Attaching files with Selenium  Changing your facebook profile picture by attaching new picture  Mouse movement with Selenium- Mouse Interface  Handling Ajax Autosuggests  Handling Google Ajax Autosuggests  Handling Frames in Web Page  Handling cookies  More Examples on Webtables  Webtables and css Selectors - NEW  Building custom functions for Webtables - NEW
  • 6.  Managing Javascript alerts - NEW Training Day – 15: Selenium 2.0 Features - 2  Simulating front and back button click on Browser using selenium  Assigning Firefox profile parameters  Downloading files using selenium  Selenium JavaDocs  Listeners- Using WebDriverEventListener  Practical usage of Listeners in Selenium  Moving a mouse on a Object and right clicking on it  Finding Coordinates of a Web Object  Actions class in Webdriver- - NEW  Handling CSS menu with Action class- - NEW  Handling CSS menu with JavaScriptExecutor- - NEW  JavaScriptExecutor example- - NEW  Drag, drop, native events- - NEW Training Day – 16: Selenium 2.0 - Exercises  Dynamic Objects Exercises  Example 1 - Gmail.com: Print the gmail's increasing space  Example 2 - Check Links on Quikr.com  Example 3 - Scrolling the page side bar  Example 4 - Print names of all facebook friends  Example 5 - Count/Verify items in shopping cart  Example 6 - demo.virtuemart.com Exercise- - NEW Training Day – 17: Junit and Data Driven Framework  Overview of Data driven framework  Building the Test Base Class  Using Annotations of Junit  Reading XPATHS, Configuration from properties file  Initialize the Webdriver  Building the Test Base Class  Implementing WebDriver Implicit Wait  Implementing tests and batch running them  Repeating a test with different Data  Building utility functions  Parameterizing tests using XL Files  Controlling Execution order from XL Files  Assertions and Reporting Errors / ErrorCollector  Storing Screenshots of errors  Running the framework through ANT
  • 7.  Generating the HTML reports  Emailing test reports  Creating a BAT file for project execution Training Day – 18: Junit and Hybrid (Keyword+Data) Framework  Overview of Hybrid(Keyword+Data Driven) Framework  Building XLS File Having Test Cases and Keywords  Building XLS File Having Test Data  Building Base class  Reading XPATHS, Configuration from properties file  Implementing ImplicitWait  Implementing the keywords using the reflection API  Implementing tests  Assertions and Reporting Errors  Parameterizing tests using DataProvider and XL Files  Repeating a test with different Data  Running the framework through ANT  Generating the reports  Emailing test reports  Creating a BAT file for project execution  Exercises  Interview Questions Training Day – 19: TestNg and Data Driven Framework  Overview of Data driven framework  Building the Test Base Class  Using Annotations of TestNg  Reading XPATHS, Configuration from properties file  Initialize the Webdriver  Implementing WebDriver Implicit Wait  Implementing tests and batch running them  Repeating a test with different Data  Implement logging with Log4J API  Building utility functions  Parameterizing tests using XL Files  Controlling Execution order from XL Files  Assertions and Reporting Errors  Storing Screenshots of errors  Running the framework through ANT  Generating the XSLT reports  Creating a BAT file for project execution  Emailing Test Reports
  • 8. Training Day – 20: TestNg and Hybrid (Keyword+Data) Framework  Overview of Hybrid Framework  Building XLS File Having Test Cases and Keywords  Building XLS File Having Test Data  Building Base class  Reading XPATHS, Configuration from properties file  Implementing WebdriverWait  Implementing the keywords using the reflection API  Implementing tests  Assertions and Reporting Errors  Parameterizing tests using DataProvider and XL Files  Repeating a test with different Data  Running the framework through ANT  Generating the reports  Emailing test reports  Creating a BAT file for project execution