When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

Automated Tests in Java with Fluent Interface Using WebDriver Selenium
Automated UI tests should be easy to read and clearly show business logic, not filled with low-level code. Learn how to create a Fluent Interface for your tests and make them highly readable, easy to maintain and pleasant to work with.

This Course Includes
pluralsight
5 (230 reviews )
1 hour 38 minutes
english
Online - Self Paced
core courses
pluralsight
About Automated Tests in Java with Fluent Interface Using WebDriver Selenium
Too often a suite of automated tests is thrown out because it is cumbersome to maintain. In this course, Automated Tests in Java with Fluent Interface Using WebDriver Selenium, you will gain the ability to write UI tests in an entirely different way - one that makes UI tests useful and actually pleasant to work with. First, you will learn the Page Object pattern and apply it to a UI test in order to remove low-level Selenium API details from the test. Next, you will discover how method chaining works to make your test fluent and improve your own experience writing and reading tests. Finally, you will explore how to approach the UI testing domain and design a more complex Fluent Interface that will feel like a real language, allowing anyone to read and understand what the test does. By the end of this course, you will have the necessary skills to write a small (or large) UI testing framework that enables you to create fluent and easy-to-read tests for your web application.
What You Will Learn?
- Course Overview : 1min.
- Understanding the Fluent Interface : 13mins.
- Applying the Page Object Pattern : 23mins.
- Implementing Basic Fluent Interface with Method Chaining : 13mins.
- Improving and Refactoring the Fluent Interface : 16mins.
- Advanced Fluent Interface Design : 29mins.