Serenity and Screenplay: Next-generation Automated Acceptance Tests
The next generation in automated acceptance testing
The Screenplay Pattern is a new way of writing automated acceptance tests, that has many advantages over the classic Page Objects model. Tests written using Screenplay are more flexible, easier to understand, and easier to maintain, and some teams report up to 70% higher reuse than using more traditional approaches.
This course will teach you the principles behind the Screenplay pattern, and show you how to write better automated acceptance tests with Screenplay in Serenity BDD.
Introduction
Exercises
Introduction to Screenplay Questions
Exercises
Tutorial
Exercises
Tutorial
Exercises
Tutorial
Tutorial
Exercises
Tutorial
Exercises
Project 1: Train Bookings
Creating tasks using simple constructors
Creating tasks using builders and factories
Silent tasks
Introduction to Serenity Ensure
Ensure assertions with different types
Using Ensure with Collections
UI assertions with Serenity Ensure
Working with UI text elements and collections
John Ferguson Smart