~/talk

Fail Proof Ways to Run Beautiful Tests Regardless Of Browser Choice

Talkat DevOpsDays Austin 2016 · 2016-05-02..05-03· [testing, web-platform]
links:none on file
slides:none on file

Shows how to move tests from local Selenium to a cloud-based Selenium Grid (Sauce Labs) and why the key is using explicit waits (and avoiding implicit waits and sleeps). Recommends putting wait logic in a base page object, uses the clickable expected condition, and limits waits to ~10s. Demo runs 51 tests across 17 environments (Windows, OS X, Linux, Chrome/Firefox/IE/Edge/Safari, emulators and real Android/iPhone devices) and passes when waits are correct and fails when they are not.

AI-written summary · about

  1. 0:00Introduction and sponsors
  2. 2:07Meet the speaker Kevin Berg
  3. 3:32Selenium overview refresher
  4. 7:16Problem with cross-browser tests
  5. 10:12Why cross-browser testing matters
  6. 13:50Core problems in browser testing
  7. 15:15Solutions for timing issues
  8. 18:54Avoiding sleeps and implicit waits
  9. 21:09Mixing waits causes issues
  10. 22:14Best practices for waits
  11. 25:00Demo setup and environments
  12. 27:12Running tests across browsers
  13. 28:38Demo results and analysis
  14. 30:02Q&A on test maintenance
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.