8420  Reviews star_rate star_rate star_rate star_rate star_half

Automated Testing with Selenium WebDriver for Java Developers

This Selenium WebDriver training teaches Java Developers how to create Selenium automated test scripts for simple to complex SPA web applications. Learners discover how to use the flexibility of Java...

Read More
Duration 3 days
Course Code TN-SEL-WEB-JAVA
Available Formats Classroom

Overview

This Selenium WebDriver training teaches Java Developers how to create Selenium automated test scripts for simple to complex SPA web applications. Learners discover how to use the flexibility of Java test scripts to direct Selenium in testing all aspects of a web application. The training starts off with locating and exercising simple elements on a web page. Learners then proceed to complex tasks including efficiently waiting for Ajax calls to complete, structuring projects to the POM for maintainability, and moving to new windows within the same application.

  • This course is over 65% hands-on labs where learners apply their newly acquired real-world skills to develop Selenium automated Java tests.
  • Note: This class uses Selenium v. 3 and 4 in the Windows environment.

Skills Gained

  • Explain the major building blocks of the Selenium tool suite.
  • Use Selenium WebDriver to write web application automated test scripts in Java.
  • Control test script execution with waits.
  • Leverage Selenium Advanced User Interactions.
  • Utilize advanced Selenium features including popup-windows, Automating Ajax applications, and taking screenshots.
  • Exercise the Katalon IDE recorder as a prototype productivity tool.
  • Conform test scripts to the Selenium POM Pattern and PageFactory to produce maintainable, reusable, automated tests scripts.
  • Recognize Selenium version considerations and the migration process between Selenium 2, Selenium 3, and Selenium 4.
  • Interpret Selenium's Roadmap including the ramifications of the WebDriver W3C Specification.

Who Can Benefit

Experienced Java developers working as Web Developers, Test Engineers or other IT Personnel who want to learn how to use Selenium to automate Web Application tests.

Prerequisites

This is a hands-on programming course designed for experienced Web and Test Engineer Developers who are new to Selenium. Students must be able to develop Java Application in an IDE like Eclipse. Knowledge of the following is helpful:

  • Web technologies
  • Testing concepts
  • Knowledge of HTML DOM and Object-Oriented Development

Course Details

Introduction to Test Automation

  • Variations of Test Automation
  • Test Harness Tools
  • Benefits of Test Automation
  • What to test
  • The Testing Pyramid
  • Test Data

Introduction to Selenium

  • Selenium Suite of Testing Tools
  • History of Selenium
  • Selenium Browser Drivers
  • Version Considerations
  • W3C WebDriver Specification
  • W3C Browser Automation Protocol
  • Selenium Roadmap
  • Downloading and Installing Selenium
  • Lab: Working with Selenium Drivers

Selenium WebDriver

  • Introduction to WebDriver
  • Test script as Java code
  • The Selenium WebDriver library
  • The Main WebDriver classes
  • WebDriver Capabilities
  • Setting up Selenium WebDriver projects
  • SeleniumManager
  • Using Maven and Gradle build tools
  • Lab: First WebDriver Project

Working with Selenium WebElements

  • WebElements as Nodes in the DOM
  • Locating WebElements on the Web Page
  • Using Katalon Recorder as a Prototype Time Saver
  • Interacting with WebElements
  • Retrieving WebElements
  • Verifying WebElements
  • Submitting a Form
  • Lab: Locating and Updating WebElements

Working with Selenium Clickable WebElements

  • Working with Clickable WebElements
  • Handling Radio buttons and Check Boxes
  • Working with Select Drop Down Elements
  • Lab: Working with Clickable WebElements

Accessing Links Using Selenium WebDriver

  • Exact and Partial Link Text Match
  • Case-sensitivity
  • Using CSS to Locate WebElements
  • Lab: Working with Links

Accessing Tables Using Selenium WebDriver

  • HTML Tables Structure
  • Advanced Strategies for Locating WebElements
  • Using XPath to find WebElements
  • Table Utilities
  • Lab: Working with Tables

Page Object Model (POM) Pattern

  • Introduction to POM (Page Object Model)
  • Making Automated Test Scripts Maintainable
  • POM Benefits
  • How to Refactor a Project to POM
  • Lab: Refactoring to the Page Object Model

Testing Frameworks

  • Testing Frameworks
  • Modular
  • Data Driven
  • Keyword-Driven
  • Hybrid
  • Using Apache POI to Access Test Data
  • Optional Lab: Refactoring to Keyword-Driven Framework

The Selenium Page Factory

  • Introduction to the Page Factory
  • PageFactory implicit Instantiations
  • Page Factory Annotations
  • Lazy Instantiations and Caching
  • Lab: Refactoring to the PageFactory

Working with Multiple Windows

  • Working with alert pop-ups
  • Switching between multiple windows
  • Working with iFrames
  • Dealing with OS Generated pop-ups
  • Lab: Working with Multiple Windows

Controlling Test Execution

  • Waiting on a Web Page Element
  • Implicit Waits
  • Explicit Waits
  • Specifying Expected Conditions
  • Working with Ajax Controls Using WebDriver
  • Overview of Ajax
  • Issues testing Ajax model
  • Pros and Cons of different methods to wait on Ajax
  • Lab: Controlling Test Execution

Advanced User Interactions

  • Introduction to Advanced User Interactions
  • Keyboard & Mouse Events
  • Building a Series of Multiple Actions
  • Lab: Advanced User Interaction

Advanced Web Application Access

  • Taking Screenshot Using WebDriver
  • Working with Colors
  • HTML5 Considerations
  • Handling HTML5 Date Time Picker Using Selenium
  • Working with Non-Text Pressable Keys or Unicode PUA Code points
  • Menu Selection
  • Lab: Advanced Web Application Access

Selenium Wisdom

  • Selenium Guidelines and Recommendations
  • Selenium Worst Practices to Avoid
  • Selenium References

Schedule

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

The training was very good to understand the concepts and how to set up things .

ExitCertified provided us with a great opportunity to learn more about React and in easy to follow way.

Great and very intuitive. Better than the traditional hit the wrong button/lose points.

Although there seemed to be too many links for the course, everything worked smoothly.

I like their training. A lot of material covered. The labs are very good. l learned a lot.