[
Back to TesterHQ
]
BROWSING IN PREVIEW MODE:
join patreon
and
login
to access the full content
Back to Course List
Course: Selenium WebDriver API With Java
Introduction
Promo Overview Video
About the Instructor: Alan Richardson
Welcome Message
Aims of this course
Overview Of Selenium
Ask A Question
Getting Started
About the tools
FAQ: What Versions Should I Install
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
Source Code for Examples - updated 20180611
Course Slides - download these
Selenium Webdriver Java API Summary Cheatsheets
How to Fix Java Language Level Errors
Create a Project
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
Opening and Importing Maven Projects with IntelliJ
Manage IntelliJ Project Folder Files
Import pom.xml into IntelliJ 15 using the Import Wizard
Import pom.xml into IntelliJ 15 using the Open Wizard
Begin Coding
Add HtmlUnitDriver to pom.xml
My First WebDriver Test
My First Test Explored
Exercise My First Test
Use a real browser - firefox decisions
Use a real browser - Firefox v 46 and above - slides
Use a real browser - Firefox v 46 and above - IDE
Use A Real Browser - Firefox v 45 and below
Basic Automation Knowledge
Basic Knowledge Intro and Exercise
Basic Knowledge Answered
JUnit
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
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
This is a legacy video - Dot not install Firefox Plugins
Interrogation
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
CSS Selectors Exercise
CSS Selectors Exercise - sample answers
CSS Selectors - Paths
CSS Selector References
XPath Selectors
XPath Introduction
XPath Exercise
XPath Exercise - Sample Answers
Xpath CSS Rosetta Stone Reference
Manipulation
Manipulation Introduction
How to be overconfident really quickly
WebDriver Wait Introduction
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
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
Alert Overview
Alert Exercises Introduction
Alert Exercises List
Alert Exercises Retrospective
Working with Frames
Frames Introduction
Frames Discussed
Frames Exercises Introduction
Frames Exercises Sample Answers & FAQ
Frames Exercises Refactored
Working With Windows and Tabs
Windows Introduction
Windows Exercise
Window Example Code For Exercise
Window Example Code For Exercise pdf
Windows Exercise Answers
Manage Window Introduction
Manage Window Example Test
Manage Window Exercise
Manage Window Exercise Answer
Bounce window example Just For Laughs
Synchronisation Strategies - Introduction
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
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
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 vs MarionetteDriver
MarionetteDriver Introduction
FirefoxDriver Introduction
FirefoxDriver Examples using code
Using PortableFirefox on Windows with FirefoxDriver Example using code
HtmlUnitDriver
ChromeDriver Introduction
ChromeDriver Overview with example code
OperaDriver Deprecated
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
GhostDriver a quick introduction
Remote WebDriver
Remote WebDriver Overview
A Saucelabs Introduction
Remote WebDriver tests using Saucelabs
Selenium Grid 2
Selenium Grid Overview
Selenium Grid Scripts
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 the TakesScreenshot Interface
Create TakesScreenshot Live Example
TakesScreenshot Exercises
TakesScreenshot Exercises 1 Capabilities Answers
TakesScreenshot Exercises 2 Type Answers
Page Objects
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
Refactoring to Page Objects Exercise Answers
Loadable Component
Slow Loadable Component
Basics of Page Factory
Page Factory Details
Appium & WebDriver on Android
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'
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
Continuous Integration - Cross Browser Testing
Introduction to Cross Browser CI Lessons Learned
Changes made to tests for Firefox in CI
Changes made to tests for Chrome in CI
Changes made to tests for Opera in CI
Changes made to tests for IE in CI
Driver changes to support multiple browsers under CI
Create the maven profiles for the browsers
Continuous Integration - In Practice
Introduction to CI In Practice
Jenkins Jobs
My Continuous Integration setup explained
Explaining and examining intermittency
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
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 - Create A Project, the hard way, with Maven command lin
Introduction to create a project the hard way
Create A Project, the hard way, with Maven command line
Update Junit
Amend Generated Junit
Add Selenium As A Dependency
Deprecated Getting Started - Install on Windows
Install Java JDK
Install Maven
Install Firefox
Before you run 'My First Test'
Run My First Test from command line
Run My First Test from Command line with Firefox 48+
Install IntelliJ
Run My First Test From IntelliJ
Old Lectures that no longer work on current versions of WebDriver
About the deprecated videos
Android Basics
Logistics for tool installs
getTitle does not exist - recreate it
getTitle challenge sample answers
OperaDriver Introduction
OperaDriver overview with Example Code for Capabilities and Profile
About the deprecated install videos
Install Firefox Browser
Optionally Install Console 2
Install Java SDK
Install Maven 2014 Edition - no extra tools
Install Maven 2013 Edition - using Rapid Environment Editor
Optionally Install Rapid Environment Editor
Install and Create new Project Using IntelliJ 13
Import pom.xml Into IntelliJ 11 using the Import Wizard
Import Course Source Code Using Intellij 13
Import pom.xml into IntelliJ 13 using the Import Wizard
Import source code into IntelliJ 12
Install IntelliJ 12 - (Old version)
Deprecated CI Lectures
Introduction to Deprecated CI Lectures
Slides for Deprecated Continuous Integration
Source code is also available in an SVN repository
Install an SVN client
How to get access to the svn repository
Checkout the svn project
Svn Update and Svn Export
Create an IntelliJ Project
Continuous Integration Section Introduction
What is Jenkins and Continuous Integration
Install the Jenkins Native Distro for Windows
Jenkins Runs as a service
How to run Jenkins from command line
Update Jenkins automatically
Configure Jenkins Global Settings
Getting the tests running from command line with JUnit Suites and Maven Profiles
JUnit suites overview
Exercise Create JUnit Suites
Deprecated Getting Started - Install on Mac
Get Setup on the Mac - maven
How to make the Maven exports Persist on a Mac