~/talk

Selenium tests, the Object Oriented Way

Talkat TestCon Vilnius 2017 · 2017-10-18..10-20· [testing]
slides:none on file

Claims an object‑oriented way to write Selenium tests in Java that turns many assertions into a one-line assertion by comparing value objects. Implements concrete classes like Image(source,width,height) and Module(image,text), uses Selenium to extract attributes, relies on IntelliJ to generate constructors, equals/hashCode and toString, and runs in minutes so a reusable suite appears in under an hour. Demonstrates failures showing exact differing fields and reuses objects across pages instead of repeating assertions.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40Overview
  3. 5:35Create a simple object
  4. 6:27Create an image
  5. 7:25Expected vs actual image
  6. 7:50constructors
  7. 8:21generate constructor
  8. 10:20assert
  9. 11:57source
  10. 13:30properties
  11. 18:04testing the object
  12. 19:45testing the whole module
  13. 22:17running the test
  14. 23:40assertion error
  15. 25:02assert equals
  16. 26:07test module
  17. 28:05image constructor
  18. 29:49expected module
  19. 34:59reuse
~/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.