Decomposing Page Objects

The Page Object pattern has been used in User Interface automation testing since at least 2004 when Martin Fowler presented the Window Driver pattern. While a great pattern for UI testing, decomposing the pattern into three core responsibilities allow for much more maintainable and expressive code. Too often, Page Objects become God-objects which know-all and can do-all leading to fragile testing code. Instead, organizing code into Models, Orchestrations, and Scenarios gives you all of the power of Page Objects along with good old OOP practices.

This talk effectively walks the attendee thru a series of requirement changes on a small sample app and identifies pain points for testing along the way. Keeping those points in mind, we’ll eventually re-factor out the Page Modeling pattern improvements to Page Objects. This helps developers on proper OOP and testing practices using these principles.

Beginner : patterns oop models

Back

;