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.
Course info
Rating
(60)
Level
Intermediate
Updated
Feb 5, 2019
Duration
1h 38m
Table of contents
Description
Course info
Rating
(60)
Level
Intermediate
Updated
Feb 5, 2019
Duration
1h 38m
Description

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.

About the author
About the author

Andrejs is a Quality Assurance professional and participates in the entire SDLC - from requirements analysis, to test creation and their automation.

More from the author
Defensive Coding in Java
Beginner
2h 1m
Nov 13, 2019
Java Refactoring: Best Practices
Intermediate
2h 8m
Jul 16, 2019
Java: Writing Readable and Maintainable Code
Intermediate
2h 24m
Apr 15, 2019
More courses by Andrejs Doronins
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone, my name is Andrejs Doronins, and welcome to my course, Automated Tests in Java with Fluent Interface using WebDriver Selenium. Test automation is a discipline that has a lot of challenges, but it can be fun and rewarding when done right. But when the number of automated tests grows to hundreds or thousands, software teams suddenly find themselves spending more time maintaining existing tests as opposed to writing new ones. This course helps you overcome this problem by showing you how to create a fluent interface for UI tests. Your tests will become easy to write and easy to ready by anyone, including non-technical people, and this makes a big difference. Some of the major topics that we will cover include applying the Page Object Pattern to existing Selenium code, understanding and using method chaining, and designing and implementing advanced fluent interface features. By the end of this course, you'll be able to create fluent and easy-to-read UI tests that everyone will love. Before beginning the course, you should be familiar with Java, Selenium, or another UI testing library, as well as the ability to set up a basic Java project with tools, such as IntelliJ or Eclipse. I hope you'll join me on this journey to learn better test automation with the course Automated Tests in Java with Fluent Interface Using WebDriver Selenium, at Pluralsight.