Zenler Player
Your course is loading. Hang tight.
Selenium 2 WebDriver Basics With Java
Back to curriculum
0% Complete
0% Complete
Promo Overview Video
About the Instructor: Alan Richardson
Welcome Message
Aims of this course
Overview Of Selenium
Ask A Question
Last Updated 20200430
About the tools
FAQ: What Versions Should I Install
About the Applications under test
Homebrew and Chocolatey Overview
startUsingJavaJunit GitHub Project Overview
Windows Install Java, Maven and IntelliJ using Chocolatey
Mac Install Java, Maven and IntelliJ using Homebrew
Overview of Driver Installs
Overview of startUsingSeleniumWebDriver Github Project
Install ChromeDriver using Chocolatey
Install GeckoDriver using Chocolatey
Open startUsingSeleniumWebDriver project in IntelliJ and run the tests (Windows)
Install ChromeDriver using Homebrew
Install GeckoDriver using Homebrew
SafariDriver is already installed on Mac
Open startUsingSeleniumWebDriver project in IntelliJ and run the tests (Mac)
Install Java JDK, Maven and IntelliJ
Install IntelliJ
Download the `startUsingSeleniumWebDriver` project
Install Firefox and Marionette GeckoDriver
Install Chrome and ChromeDriver
Run WebDriver Test From The IntelliJ IDE
Tip - how to right click in Finder to open folder in a terminal
Install Java JDK, and Maven on Mac using Homebrew
Install IntelliJ Community Edition on Mac
Download the `startUsingSeleniumWebDriver` project and install Firefox and driver
Install Chrome and ChromeDriver
Run WebDriver Test From The IntelliJ IDE
Current Status of the course and Selenium 3
How to upgrade to Selenium 3 (only for pre version 3 students)
Source Code for Examples - updated 20200218
Course Slides - download these
Selenium Webdriver Java API Summary Cheatsheets
How to Fix Java Language Level Errors
Selenium 4 Information
Intro To Maven
Create A Project, the easy way, with IntelliJ
How to add and update version of Selenium WebDriver Dependency
Summary Of Why Maven
Maven Troubleshooting, Tips and FAQs
Maven Troubleshooting Downloads
Maven Troubleshooting Proxies and Download Cache Issues
Manage IntelliJ Project Folder Files
Import pom.xml into IntelliJ 15 using the Open Wizard
About This Section
Create A Project
My First Chrome Test
My First Firefox Test
My First Test Explained
Begin Coding Exercise
Basic Knowledge Intro and Exercise
Basic Knowledge Answered
JUnit Intro and Example Explained
How is maven getting the dependencies?
Run maven with no 'test' in the class name
More JUnit Theory
A Quick Look at JUnit's source code
Example use of @Before, @BeforeClass, @After and @AfterClass
JUnit Exercises Introduction
Sample JUnit Answers Explained
A little more Hamcrest
Notes on Using JUnit 4.11 with Hamcrest
JUnit 4 vs Junit 5
Navigation Introduction - the basic navigation commands
Explain the Driver class
Navigation Exercises
Navigation Exercises Explained - Sample Answers
Navigation Discussion
IntelliJ project pane tips
IntelliJ navigation find shortcut keys
Finding Elements in Google Chrome Dev Tools
Finding Elements in Firefox Dev Tools
Introduction to Interrogation
Driver level Interrogation exercise
Driver Level Interrogation Exercise - Sample Answers
DOM Element Interrogation Introduction
First findElement & By exercise
First findElement & By Exercise - Sample Answers
findElements Introduction
findElements Exercise
findElements Exercise - sample answer
Chaining findElement and By support classes
CSS Selectors
CSS Selectors Exercise
CSS Selectors Exercise - sample answers
CSS Selectors - Paths
CSS Selector References
XPath Introduction
XPath Exercise
XPath Exercise - Sample Answers
Xpath CSS Rosetta Stone Reference
Manipulation Introduction
How to be overconfident really quickly
WebDriver Wait Introduction
Manipulation Exercises Introduction
The Manipulation Exercises List
Manipulation Exercises Sample Answers Introduction
Manipulation Exercises - sample answers question one
Manipulation Exercises - sample answers question two
Manipulation Exercises - sample answers question three
Manipulation Exercises - sample answers question four
Manipulation Exercises - sample answers question five
Manipulation Exercises - sample answers question six
Manipulation Exercises - sample answers question seven
Manipulation Exercises - Summary and retrospective
Demo of experimenting with API using IntelliJ Evaluate Functionality
Overview of Select Support Class and Exercise
Select Support Class Sample Answer
User Interactions Introduction and overview
User Interactions Demo and code walkthrough
User Interactions Exercise Introduction
User Interactions Exercise List
User Interactions Exercise Retrospective
Make User Interaction More Reliable By Setting Focus to the page
Alerts Material
Alerts Overview
Alerts Exercises Introduction
Alerts Exercises Sample Answers
Alerts FAQs
Alerts Summary
Frames Introduction
Frames a Code Introduction
Frames Exercises
Frames Exercises Answers
Frames Exercises Summary Answers
Frames Documentation
iFrames Introduction
iFrames Code Introduction
iFrames Exercises
iFrames Exercises Answers
iFrames Exercises Answers Summary
iFrames FAQs
iFrames Documentation
Working With Windows Introduction
Windows Code Introduction
Windows Exercises
Windows Exercises Answers
Windows Exercises Summary Answers
Windows FAQs
Working With Windows Documentation
Managing Windows Introduction
Managing Windows Code Introduction
Managing Windows Exercises
Windows Exercises Answers
Managing With Windows Documentation
Synchronisation Strategies Overview
Exercise: feel the pain
Exercise: feel the pain answer
WebDriverWait to Save The Day
Exercise: Fix the failing test
Exercise: ExpectedConditions Answers Code Walkthrough
Custom Expected Condition - slides walkthrough
Custom Expected Condition - ExpectedConditions code walkthrough
Custom Expected Condition - tutorial code walkthrough
WebDriverWait ExpectedCondition Code Walkthrough Explanation
Waiting Exercises slide
Waiting Exercises answers - code walkthrough
Using WebDriverWait Fluently overview
Using WebDriverWait Fluently code
FluentWait Introduction slides
FluentWait code based overview
FluentWait exercise
FluentWait exercise Answers
Implicit vs Explicit Wait slides overview
Implicit vs Explicit Wait code overview
Refactoring WebDriverWait
Refactoring WebDriverWait Code
Cookies Introduction
Cookies Overview
Cookies Builder
Cookies Warning
Cookies Exercise Overview
Cookies Exercise Answers
Javascript Introduction
Javascript Example with Code Exploration
Javascript on the page to view script and console
Javascript Exercises
Javascript Answers
Javascript Async Theory
Javascript Async Example Explained and Explored
Javascript Async Exercise
Javascript Async Exercise Answer
Introduction to using different browsers
Adding a Browser Driver to the Path
FirefoxDriver Introduction
ChromeDriver Introduction
ChromeDriver Overview with example code
OperaDriver
IEDriver Overview with slides
IEDriver Overview with code examples
IEDriver path configuration Path or Property
Microsoft Edge WebDriver Introduction
Microsoft Edge WebDriver Code Introduction
Try Different Browsers
Different Browsers Exercises
Headless Browsers Introduction
HtmlUnitDriver
GhostDriver a quick introduction
Headless ChromeDriver
Headless Firefox Driver
Driver Manager Approaches Introduction
Driver Manager Selenium 2 Basics
Selenium Test Code WebDriverBuilder
Selenium Simplified Manager
Driver Manager Exercise Introduction
Driver Manager Exercise Answer
Driver Manager Exercise Recap
Overview of Taking Screenshots
Overview of the TakesScreenshot Interface
Create TakesScreenshot Live Example
TakesScreenshot Code Overview
TakesScreenshot Exercises
TakesScreenshot Exercises 1 Capabilities Answers
TakesScreenshot Exercises 2 Type Answers
TakesScreenshot FAQs
Page Objects Introduction
Page Objects Refactoring Heuristics
Refactoring to Page Objects A Live Example
Refactoring to Page Objects the Live Example Summary
Refactoring to Page Objects Exercise
Defect Explanation for the GUI JavaScript option selection
Refactoring to Page Objects Exercise Answers
Loadable Component
Slow Loadable Component
Basics of Page Factory
Page Factory Details
Module Material
Overview of Continuous Integration
Overview of CI Project Code
Overview of Github Travis CI Process
About Git
Create a Github Account
Install Git and Github desktop
Create a Project in Git for the CI
Exercise Summary
Travis CI Overview
Create a Travis CI Build
.travis.yml file Explained
Travis-CI Exercise Summary
Maven Profiles and JUnit Suites for CI
Generating a JUnit HTML Execution Report from Maven
Jenkins Install
Configure Jenkins Plugins and Tools
Configure Jenkins Manual Job
Introduction
Introduction to CI In Practice
Jenkins Jobs
My Continuous Integration setup explained
Explaining and examining intermittency
Module Material
Overview of RemoteWebDriver
Demo of RemoteWebDriver
Remote Grid Pros and Cons
Remote WebDriver Grid SAAS Providers
Selenium Grid Theory
Local Selenium Grid Demo
Appium - Overview
About this Module
Data Driven Testing Overview
Data Driven Testing In Action
Data Driven Testing with and Object Array
Data Driven Testing with a CSV File
IsLoaded Helper Class Approach
Some Fluent Page Object Tips
Import pom.xml into IntelliJ 13 using the Open Wizard
End Notes
Personal End of Course Message
Where Next?
What is Continuous Integration
Example of CI - About the wdci git code project
Example of CI - Github code local Jenkins build
Example of CI - Github and Travis-ci
Download and Run Jenkins
Example Initial Run and Config of Jenkins
Overview of Installing Git
Exercise - create a Jenkins job to run wdci with firefox
Exercise Answer - create a Jenkins job to run wdci with firefox
Exercise - create a Jenkins job to run wdci with HtmlUnit
Exercise Answer - create a Jenkins job to run wdci with HtmlUnit
Exercise - create a Jenkins job to run wdci with a Driver
Exercise Answer - create a Jenkins job to run wdci with a Driver
Exercise - create your own Git repository
JUnit Suites and Profiles
Exercise - JUnit Suites and Profiles
Slides for Continuous Integration with Git
Jenkins Hints - JENKINS_HOME
Changing Driver for easier GRID usage
Implementing Driver Change for easier GRID usage
More Generic grid code in Driver
Using the Driver config from CI
Using the Driver config from the command line
Using the Driver config from the IDE
BrowserStack requires Driver changes
Driver changes to support BrowserStack
IntelliJ Driver config for BrowserStack, SauceLabs and TestingBot
Basic setup of a Mac as a grid node
Demonstration of ChromeDriver on mac and IE by default
Using node.json to Configure a Mac grid node
Added the grid config source files into the code.zip and repo
Why is this section deprecated
About Appium
How to Study This Section
Installing Appium
Appium Live Run
Appium Live Run Changes Made to Driver
Results of Appium Live Run
Investigate BasicTestRefactored Test Failure
Investigate Cookies Test Failure
Investigate User Interactions Test Failure
Investigate Data Driven Test Failure
About Android Virtual Devices
Installing and Creating an Android Virtual Device
Appium and AVD
Demonstration Running Appium against Browser
Appium Exercises
Appium Slides and 'transcript'
Alert Overview
Alert Exercises Introduction
Alert Exercises List
Alert Exercises Retrospective
Introduction
Promo Overview Video
Preview
About the Instructor: Alan Richardson
Preview
Welcome Message
Preview
Aims of this course
Preview
Overview Of Selenium
Preview
Ask A Question
Last Updated 20200430
Getting Started
About the tools
FAQ: What Versions Should I Install
About the Applications under test
Installing Java, Maven and IntelliJ - Getting Started Overview
Homebrew and Chocolatey Overview
startUsingJavaJunit GitHub Project Overview
Windows Install Java, Maven and IntelliJ using Chocolatey
Mac Install Java, Maven and IntelliJ using Homebrew
Overview of Driver Installs
Overview of Driver Installs
Overview of startUsingSeleniumWebDriver Github Project
Windows - Install WebDriver on Windows And Run Your First Test
Install ChromeDriver using Chocolatey
Install GeckoDriver using Chocolatey
Open startUsingSeleniumWebDriver project in IntelliJ and run the tests (Windows)
Mac - Install WebDriver on Mac And Run Your First Test
Install ChromeDriver using Homebrew
Install GeckoDriver using Homebrew
SafariDriver is already installed on Mac
Open startUsingSeleniumWebDriver project in IntelliJ and run the tests (Mac)
Legacy Getting Started - Install on Windows
Install Java JDK, Maven and IntelliJ
Install IntelliJ
Download the `startUsingSeleniumWebDriver` project
Install Firefox and Marionette GeckoDriver
Install Chrome and ChromeDriver
Run WebDriver Test From The IntelliJ IDE
Legacy Getting Started - Install on Mac
Tip - how to right click in Finder to open folder in a terminal
Install Java JDK, and Maven on Mac using Homebrew
Install IntelliJ Community Edition on Mac
Download the `startUsingSeleniumWebDriver` project and install Firefox and driver
Install Chrome and ChromeDriver
Run WebDriver Test From The IntelliJ IDE
Selenium 3
Current Status of the course and Selenium 3
How to upgrade to Selenium 3 (only for pre version 3 students)
Logistics and Access to Course Materials and Source Code
Source Code for Examples - updated 20200218
Course Slides - download these
Selenium Webdriver Java API Summary Cheatsheets
Preview
How to Fix Java Language Level Errors
Selenium 4.0
Selenium 4 Information
Create a Project
Intro To Maven
Preview
Create A Project, the easy way, with IntelliJ
How to add and update version of Selenium WebDriver Dependency
Summary Of Why Maven
Preview
Maven Troubleshooting, Tips and FAQs
Preview
Maven Troubleshooting Downloads
Preview
Maven Troubleshooting Proxies and Download Cache Issues
Preview
Opening and Importing Maven Projects with IntelliJ
Manage IntelliJ Project Folder Files
Import pom.xml into IntelliJ 15 using the Open Wizard
Begin Coding
About This Section
Create A Project
My First Chrome Test
My First Firefox Test
My First Test Explained
Begin Coding Exercise
Basic Automation Knowledge
Basic Knowledge Intro and Exercise
Basic Knowledge Answered
JUnit
JUnit Intro and Example Explained
How is maven getting the dependencies?
Preview
Run maven with no 'test' in the class name
More JUnit Theory
A Quick Look at JUnit's source code
Example use of @Before, @BeforeClass, @After and @AfterClass
JUnit Exercises Introduction
Sample JUnit Answers Explained
A little more Hamcrest
Preview
Notes on Using JUnit 4.11 with Hamcrest
JUnit 4 vs Junit 5
Navigation
Navigation Introduction - the basic navigation commands
Explain the Driver class
Navigation Exercises
Navigation Exercises Explained - Sample Answers
Navigation Discussion
IntelliJ Hints And Tips
IntelliJ project pane tips
IntelliJ navigation find shortcut keys
Getting Started - Final Points
Finding Elements in Google Chrome Dev Tools
Finding Elements in Firefox Dev Tools
Interrogation
Introduction to Interrogation
Preview
Driver level Interrogation exercise
Driver Level Interrogation Exercise - Sample Answers
DOM Element Interrogation Introduction
First findElement & By exercise
First findElement & By Exercise - Sample Answers
findElements Introduction
findElements Exercise
findElements Exercise - sample answer
Chaining findElement and By support classes
CSS Selectors
CSS Selectors
CSS Selectors Exercise
CSS Selectors Exercise - sample answers
CSS Selectors - Paths
CSS Selector References
Preview
XPath Selectors
XPath Introduction
XPath Exercise
XPath Exercise - Sample Answers
Xpath CSS Rosetta Stone Reference
Manipulation
Manipulation Introduction
Preview
How to be overconfident really quickly
WebDriver Wait Introduction
Preview
Manipulation - Exercises
Manipulation Exercises Introduction
The Manipulation Exercises List
Manipulation Exercises Sample Answers Introduction
Manipulation Exercises - sample answers question one
Manipulation Exercises - sample answers question two
Manipulation Exercises - sample answers question three
Manipulation Exercises - sample answers question four
Manipulation Exercises - sample answers question five
Manipulation Exercises - sample answers question six
Manipulation Exercises - sample answers question seven
Manipulation Exercises - Summary and retrospective
Manipulation - Select Helper Class and IntelliJ API Exploration
Demo of experimenting with API using IntelliJ Evaluate Functionality
Preview
Overview of Select Support Class and Exercise
Select Support Class Sample Answer
User Interactions
User Interactions Introduction and overview
User Interactions Demo and code walkthrough
User Interactions Exercise Introduction
User Interactions Exercise List
User Interactions Exercise Retrospective
Make User Interaction More Reliable By Setting Focus to the page
Alerts (new)
Alerts Material
Alerts Overview
Alerts Exercises Introduction
Alerts Exercises Sample Answers
Alerts FAQs
Alerts Summary
Working With Frames NEW
Frames Introduction
Frames a Code Introduction
Frames Exercises
Frames Exercises Answers
Frames Exercises Summary Answers
Frames Documentation
Working With iFrames NEW
iFrames Introduction
iFrames Code Introduction
iFrames Exercises
iFrames Exercises Answers
iFrames Exercises Answers Summary
iFrames FAQs
iFrames Documentation
Working with Windows NEW
Working With Windows Introduction
Windows Code Introduction
Windows Exercises
Windows Exercises Answers
Windows Exercises Summary Answers
Windows FAQs
Working With Windows Documentation
Managing Windows NEW
Managing Windows Introduction
Managing Windows Code Introduction
Managing Windows Exercises
Windows Exercises Answers
Managing With Windows Documentation
Synchronisation Strategies - Introduction
Synchronisation Strategies Overview
Preview
Exercise: feel the pain
Exercise: feel the pain answer
WebDriverWait to Save The Day
Exercise: Fix the failing test
Exercise: ExpectedConditions Answers Code Walkthrough
Synchronisation strategies - Expected Conditions
Custom Expected Condition - slides walkthrough
Custom Expected Condition - ExpectedConditions code walkthrough
Custom Expected Condition - tutorial code walkthrough
WebDriverWait ExpectedCondition Code Walkthrough Explanation
Waiting Exercises slide
Waiting Exercises answers - code walkthrough
Synchronisation strategies - Fluent Waits
Using WebDriverWait Fluently overview
Using WebDriverWait Fluently code
FluentWait Introduction slides
FluentWait code based overview
FluentWait exercise
FluentWait exercise Answers
Synchronisation strategies - Implicit vs Explicit and Refactoring
Implicit vs Explicit Wait slides overview
Preview
Implicit vs Explicit Wait code overview
Refactoring WebDriverWait
Refactoring WebDriverWait Code
Cookies
Cookies Introduction
Cookies Overview
Cookies Builder
Cookies Warning
Cookies Exercise Overview
Cookies Exercise Answers
Javascript
Javascript Introduction
Javascript Example with Code Exploration
Javascript on the page to view script and console
Javascript Exercises
Javascript Answers
Javascript Async Theory
Javascript Async Example Explained and Explored
Javascript Async Exercise
Javascript Async Exercise Answer
Different Browsers
Introduction to using different browsers
Adding a Browser Driver to the Path
FirefoxDriver Introduction
ChromeDriver Introduction
ChromeDriver Overview with example code
OperaDriver
IEDriver Overview with slides
IEDriver Overview with code examples
IEDriver path configuration Path or Property
Microsoft Edge WebDriver Introduction
Microsoft Edge WebDriver Code Introduction
Try Different Browsers
Different Browsers Exercises
Headless Browsers
Headless Browsers Introduction
HtmlUnitDriver
GhostDriver a quick introduction
Headless ChromeDriver
Headless Firefox Driver
Driver Managers
Driver Manager Approaches Introduction
Driver Manager Selenium 2 Basics
Selenium Test Code WebDriverBuilder
Selenium Simplified Manager
Driver Manager Exercise Introduction
Driver Manager Exercise Answer
Driver Manager Exercise Recap
Taking Screenshots
Overview of Taking Screenshots
Overview of the TakesScreenshot Interface
Preview
Create TakesScreenshot Live Example
TakesScreenshot Code Overview
TakesScreenshot Exercises
TakesScreenshot Exercises 1 Capabilities Answers
TakesScreenshot Exercises 2 Type Answers
TakesScreenshot FAQs
Page Objects
Page Objects Introduction
Page Objects Refactoring Heuristics
Preview
Refactoring to Page Objects A Live Example
Refactoring to Page Objects the Live Example Summary
Refactoring to Page Objects Exercise
Defect Explanation for the GUI JavaScript option selection
Refactoring to Page Objects Exercise Answers
Loadable Component
Slow Loadable Component
Basics of Page Factory
Page Factory Details
Module: Continuous Integration
Module Material
Continuous Integration - Basics
Overview of Continuous Integration
Overview of CI Project Code
Overview of Github Travis CI Process
Continuous Integration - Git and Github
About Git
Create a Github Account
Install Git and Github desktop
Create a Project in Git for the CI
Exercise Summary
Continuous Integration - Travis
Travis CI Overview
Create a Travis CI Build
.travis.yml file Explained
Travis-CI Exercise Summary
Continuous Integration - Maven and JUnit
Maven Profiles and JUnit Suites for CI
Generating a JUnit HTML Execution Report from Maven
Continuous Integration - Jenkins
Jenkins Install
Configure Jenkins Plugins and Tools
Configure Jenkins Manual Job
Continuous Integration - Case Study - In Practice
Introduction
Introduction to CI In Practice
Jenkins Jobs
My Continuous Integration setup explained
Explaining and examining intermittency
Module : RemoteWebDriver and Grid
Module Material
Remote WebDriver
Overview of RemoteWebDriver
Demo of RemoteWebDriver
Remote Grid Pros and Cons
Remote WebDriver Grid SAAS Providers
Selenium Grid
Selenium Grid Theory
Local Selenium Grid Demo
Module - Selenium Eco-System
Appium - Overview
Module: Additional Notes
About this Module
Data Driven Testing
Data Driven Testing Overview
Data Driven Testing In Action
Data Driven Testing with and Object Array
Data Driven Testing with a CSV File
Various Production And Experience Tips
IsLoaded Helper Class Approach
Some Fluent Page Object Tips
End Notes
Import pom.xml into IntelliJ 13 using the Open Wizard
End Notes
Personal End of Course Message
Where Next?
DEPRECATED Continuous Integration with Git and WebDriver
What is Continuous Integration
Example of CI - About the wdci git code project
Example of CI - Github code local Jenkins build
Example of CI - Github and Travis-ci
Download and Run Jenkins
Example Initial Run and Config of Jenkins
Overview of Installing Git
Exercise - create a Jenkins job to run wdci with firefox
Exercise Answer - create a Jenkins job to run wdci with firefox
Exercise - create a Jenkins job to run wdci with HtmlUnit
Exercise Answer - create a Jenkins job to run wdci with HtmlUnit
Exercise - create a Jenkins job to run wdci with a Driver
Exercise Answer - create a Jenkins job to run wdci with a Driver
Exercise - create your own Git repository
JUnit Suites and Profiles
Exercise - JUnit Suites and Profiles
Slides for Continuous Integration with Git
Jenkins Hints - JENKINS_HOME
DEPRECATED Driver Manager Changes for flexible Grid configuration
Changing Driver for easier GRID usage
Implementing Driver Change for easier GRID usage
More Generic grid code in Driver
Using the Driver config from CI
Using the Driver config from the command line
Using the Driver config from the IDE
BrowserStack requires Driver changes
Driver changes to support BrowserStack
IntelliJ Driver config for BrowserStack, SauceLabs and TestingBot
Basic setup of a Mac as a grid node
Demonstration of ChromeDriver on mac and IE by default
Using node.json to Configure a Mac grid node
Added the grid config source files into the code.zip and repo
DEPRECATED Appium & WebDriver on Android
Why is this section deprecated
About Appium
Preview
How to Study This Section
Installing Appium
Appium Live Run
Appium Live Run Changes Made to Driver
Results of Appium Live Run
Investigate BasicTestRefactored Test Failure
Investigate Cookies Test Failure
Investigate User Interactions Test Failure
Investigate Data Driven Test Failure
About Android Virtual Devices
Installing and Creating an Android Virtual Device
Appium and AVD
Demonstration Running Appium against Browser
Appium Exercises
Appium Slides and 'transcript'
Alerts (Deprecated)
Alert Overview
Alert Exercises Introduction
Alert Exercises List
Alert Exercises Retrospective
×
This is an unpublished lesson. This lesson will not be shown for students unless you set it as Public.
Back to Dashboard
No contents are available in this lesson!
No lessons available !
Back to Dashboard
Lesson contents locked
Enroll to unlock this lesson.
Enroll to unlock
Next Lesson