~/talk

Everything you want to know about Page Object design pattern (Mikalai Alimenkou, Ukraine), part 2

TalkinRussianat Selenium Camp 2017 · 2017-02-24..02-25· [testing]
slides:none on file

Live coding demonstrates TDD-driven generation of Page Objects and their methods, with a Yahoo example comparing treating widgets as reusable components versus keeping a monolithic page object. The talk explains PageFactory caching behavior, argues that properly typed elements and component libraries (html element, Serenity, EPAM) reduce duplication and improve test reliability, and warns that poor programming skills or overcomplicating POs can lead to huge, fragile page object classes.

AI-written summary · about

  1. 0:00Page Object intro
  2. 1:48Page Object structure
  3. 4:36Splitting pages into widgets
  4. 7:33Page Elements approaches
  5. 11:17Page Elements classification
  6. 16:09Encapsulating logic in elements
  7. 22:11Page Object templates
  8. 26:30Caching and element init
  9. 30:02Ready element libraries
  10. 37:24Page Object drawbacks
  11. 40:25TDD-driven Page Objects
~/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.