~/talk

Self-Generating Test Artifacts for Selenium/WebDriver

Talkat SeleniumConf 2012 London · 2012-04-16..04-18· [testing, developer-experience]
slides:none on file

At Peoplefluent test maintenance overhead drops from ~40% to under 3% by generating Selenium Page objects at build time using Java reflection to parse Velocity and JSP source, producing base page classes plus hand-edited derived pages. The generator parses Velocity and JSP to extract IDs and element types and the build causes compile-time failures to block bad checkins so developers fix breakage before tests run. Outcome: ~1,900 WebDriver tests run at about 98% pass rate and far less ongoing maintenance.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Reactive trap in test automation
  3. 3:13From page objects to automation
  4. 7:08Self-generating page objects
  5. 7:52Demo: worst web page
  6. 12:18Automated page regeneration
  7. 17:01Handling new UI flows
  8. 20:36Advanced features in models
  9. 22:20Developer integration
  10. 24:28Results and maintenance
  11. 26:53Self-testing pages
  12. 28:18Defect discovery impact
  13. 30:04Masking issues concerns
  14. 31:50When to implement
  15. 32:11Source code characteristics
  16. 33:40Parser system details
  17. 36:53Drawbacks and challenges
  18. 38:38Gradual adoption
  19. 40:01Developer collaboration
~/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.