Using the Page Object Pattern
summary
Explains how to apply the Page Object pattern to Android UI tests written with Espresso to improve test maintainability. Covers organizing page objects, separating locators and actions from test logic, and using these abstractions to make Espresso tests easier to read and update.
AI-written summary · about
chapters (9)
- 0:00Page Object introduction
- 1:04Repetitive test problems
- 3:35Page Object Pattern
- 5:01Creating Page Object class
- 6:51Page validation methods
- 8:14Writing tests with Page Object
- 10:20Maintenance advantages
- 12:30Responsibilities and reuse
- 13:14Conclusion
related talks
51mEverything you want to know about Page Object design pattern (Mikalai Alimenkou, Ukraine), part 1
44mTaking care of your UI tests
40mPage Objects: Keep It Simple and Better!
49mSolving the Problems of Espresso Android Autotests in the Real World
44mEfficient testing UI Android apps by example
33mAndroid UI Testing & Challenges
39mBeyond Page Objects
31mFurther Speeding Up UI Tests (Espresso)
