~/talk

KISS PageObjects

TalkinRussianat TestCon Moscow 2017 · 2017-04-26..04-27· [testing, frontend-architecture]
links:none on file
slides:none on file

Presents three PageObject styles—Static, Void, and Fluent—illustrated in Java using Selenium and Selenide (with occasional PageFactory/find annotations). Recommends keeping PageObjects simple by preferring composition over inheritance, avoiding typed-element wrappers and ambiguous return types, and not adding unused locators or methods; shows patterns like public-element and constructor-component, using Selenide assertions for waits, and discusses tradeoffs that reduce maintenance.

AI-written summary · about

  1. 0:00Introduction
  2. 3:57TSTD simplicity benefits
  3. 8:57Simple PageObjects
  4. 14:43PageObjects purpose
  5. 16:52Typing anti-patterns
  6. 19:40Implementation approaches
  7. 22:08Public benefits
  8. 25:17Fluent constructors
  9. 28:28Avoid returning PageObjects
  10. 29:53Inheritance anti-pattern
  11. 31:39Composition over inheritance
  12. 32:20PageObjects containers
  13. 34:25Overloaded responsibilities
  14. 35:50Structure tips
  15. 37:00Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.