The Screenplay Pattern: Better Interactions for Better Automations
Automating interactions for tests is hard. For the past decade, the primary way to automate web UI interactions has been the Page Object Model. Unfortunately, page objects do not scale well because, 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.
Join Lead Software Engineer in Test, Andrew Knight, as he introduces the Screenplay Pattern using a .NET implementation named Boa Constrictor. Learn how to use Screenplay calls with Boa Constrictor to write a simple search engine test in C#. By the end of this talk, you’ll be empowered to make better interactions for better automation!
Talking points include:
• Understanding problems with traditional ways of automating interactions
• Insights on why the Screenplay Pattern is a better way
• Making Screenplay calls in C# with Boa Constrictor, the .NET Screenplay Pattern
• Using the Screenplay Pattern for other interactions and in other languages
- Speakers
- Andrew Knight, Lead Software Engineer in Test, PrecisionLender, a Q2 Company