Design Patterns in Test Automation

In the past chapters, we learned about gestures and how to implement gestures in mobile automation. Until now, we have learned almost all the major aspects of Appium, right from understanding the app to writing a basic test in cucumber and automating it. If you notice the code we have written, we can see elements of repeatability and lack of structure and design in the whole approach. There are a couple of design patterns that are used in test automation framework, and some of them are s, Singletons, Facades, Strategy design patterns, and so on.

In this chapter, we will take a look at the very popular and widely used design pattern as well as the most fundamental aspect of test automation which is assertion: ...

Get Mobile Test Automation with Appium now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.