Automating interactions for tests is hard. For the past decade, the primary way to automate web/mobile UI interactions has been the Page Object Model. Unfortunately, page objects do not scale well. By design, they allow lots of code duplication and unsafe activity. The Screenplay Pattern is a much better pattern for handling interactions. In Screenplay, Actors use Abilities to perform Interactions. In this talk, I’ll introduce the Screenplay Pattern using the .NET implementation named Boa Constrictor. I’ll show how to write a simple search engine test in C# using Screenplay calls with Boa Constrictor. By the end of this talk, you’ll be empowered to make better interactions for better automation!

May 13 @ 10:50
10:50 — 11:30 (40′)

Andrew Knight