Page Objects: Keep It Simple and Better!
summary
Covers three concrete Page Object architectures for UI test automation—Static, Void and Fluent—implemented in Java with Selenide. Compares their pros and cons with code examples, highlights pitfalls in common approaches (including drawbacks of Yandex HTMLElements) and shows how simpler Page Object code can avoid problems; examples are portable to .NET, Python, etc.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 3:33Popular UI testing languages
- 5:45Work experience
- 6:07Page Objects benefits
- 8:14Typed elements anti-pattern
- 13:31KISS and 3 Page Object implementations
- 16:00Static methods in Page Objects
- 20:36Object methods in Page Objects
- 23:09Fluent methods in Page Objects
- 28:09Inheritance joke
- 29:56SOLID fails for tests
- 31:43Page Elements pattern
- 36:08Constants anti-patterns
- 37:35Page Objects best practices
- 39:03Max Dorofeev thoughts
related talks
37mKISS PageObjects
39mBeyond Page Objects
46mEverything you want to know about Page Object design pattern (Mikalai Alimenkou, Ukraine), part 2
51mEverything you want to know about Page Object design pattern (Mikalai Alimenkou, Ukraine), part 1
18mImproving Page Object
14mUsing the Page Object Pattern
31mIn the Footsteps of Martin Fowler: Extending the Scope of the Page Object
55mVersioned Page Objects: How to handle 12 versions of webapp
