~/talk

Why does building a robust automation framework matter?

Talkat Selenium Conf 2022 · 2022-07-29..07-30· [testing]
links:none on file
slides:none on file

Shows a working, reusable automation framework built with Cucumber + Playwright + TypeScript that swaps to Selenium with almost no code change (only init differences) and runs the same feature files and step definitions. Uses Cucumber World to give segregated browser/page context per scenario, JSON host/page/element mappings for portable selectors, and a babel compile step so cucumber.js accepts TypeScript hooks. Proof‑of‑concept compares Cypress, Playwright and Selenium, finds Playwright handles iframes and long forms better and is ~10s faster across 50 tests, and the framework successfully scales across multiple apps.

AI-written summary · about

  1. 0:00Start
  2. 1:58Why Does Automation Framework Architecture Matter
  3. 2:45The Importance of Proof of Concepting
  4. 3:42Architecture Discussions
  5. 13:53Hidden Iframes
  6. 14:19Support for Safari
  7. 14:45How Did We Build this Framework Architecture
  8. 19:41Cucumber Js
  9. 24:03Global Config
  10. 24:30Global Variables
  11. 26:22Page Configs
  12. 30:55Get Element Function
  13. 32:35Get Element Text
  14. 33:39Dynamic Pages
  15. 34:03Generic Steps
  16. 36:48Files Folder Structure
  17. 37:41Key Successes
~/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.