~/talk

Pytest + Selenium: A Match for Testing

Talkat Pycon PH 2017 · on Sunday, 2017-02-26· [testing, python]
links:none on file
links:none on file
slides:none on file

Live demos combine pytest 3.0.6, WebDriver + Firefox, and Selenium bindings to automate real sites, showing test code that opens CNN, finds elements by id/link text, clicks and fills forms, and uses explicit waits (five seconds) to avoid timing flakes. Examples show using @pytest.mark to select or skip tests, xfail semantics, reading tracebacks to locate failing lines, and several demos that fail then get fixed so the automation actually runs end to end.

AI-written summary · about

  1. 0:00Workshop introduction
  2. 5:15Software and tool setup
  3. 10:48Browser driver configuration
  4. 19:52Interacting with web elements
  5. 29:17Handling browser exceptions
  6. 37:23Advanced test automation
  7. 49:22Functional attribute marking
  8. 59:15Advanced skipping and errors
~/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.