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.
What you'll learn
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.