Test Automation with Selenium WebDriver for Java
1h 55mIntermediate2024-11-06
Authors

Angie Jones
Java Champion, Senior Director, and Master Inventor
Course details
Selenium WebDriver is a trusted, open-source tool that's great for anyone looking to automate web applications. In this course, learn from certified Java developer Angie Jones to master Selenium WebDriver for efficient web testing. Angie guides you through locating and interacting with web elements, managing element states, and implementing effective wait strategies. Also, dive into browser interactions, use of Actions APIs, and the Page Object Model for creating maintainable test frameworks. With hands-on challenges in each chapter, this course ensures you gain practical experience and confidence in automating web tests.
Learning objectives
Utilize Selenium WebDriver for Java to automate browser tasks.
Develop tests to validate web-based applications.
Structure a maintainable automation test suite.
Learning objectives
Utilize Selenium WebDriver for Java to automate browser tasks.
Develop tests to validate web-based applications.
Structure a maintainable automation test suite.
Skills covered
SeleniumSoftware TestingJavaOracleProgramming LanguagesOpen SourceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Why use Selenium WebDriver for Java
- 02 - What you should know
1. Project Setup
- 03 - Using GitHub Codespaces
- 04 - Intro to WebDriver
2. Locating Web Elements
- 05 - Locator strategies
- 06 - Finding an element
- 07 - Finding multiple elements
- 08 - Relative locators
- 09 - Code challenge - Find elements
- 10 - Solution - Find elements
3. Interacting with Web Elements
- 11 - Text boxes
- 12 - Clickable elements
- 13 - Checkboxes
- 14 - Drop-down menus
- 15 - File uploads
- 16 - Code challenge - Complete a form
- 17 - Solution - Complete a form
4. Detecting Element State
- 18 - Displayed
- 19 - Disabled
- 20 - Code challenge - Detect visibility
- 21 - Solution - Detect visibility
5. Wait Strategies
- 22 - Implicit wait
- 23 - Explicit wait
- 24 - Fluent wait
- 25 - Code challenge - Wait for appearance
- 26 - Solution - Wait for appearance
6. Browser Interactions
- 27 - Browser information
- 28 - Navigation
- 29 - Tabs
- 30 - Modals
- 31 - Alerts
- 32 - iFrames
- 33 - Cookies
- 34 - Taking screenshots
- 35 - Code Challenge - Accept alert in new tab
- 36 - Solution - Accept alert in new tab
7. Actions API
- 37 - Hover
- 38 - Double-click
- 39 - Context click
- 40 - Scroll
- 41 - Drag and drop
- 42 - Copy and paste
- 43 - Code challenge - Multiple key press
- 44 - Solution - Multiple key press
8. Page Object Model
- 45 - Framework and tests
- 46 - Page Object Model design pattern
- 47 - Initializing elements
- 48 - Implementing interaction methods
- 49 - Using Page Objects in tests
- 50 - Code challenge - Implement Page Object Model
- 51 - Solution - Implement Page Object Model
Conclusion
- 52 - Continuing your journey with Selenium WebDriver