DOM Events, UI Testing Strategies, and Selenium

Let’s say you want to write some simple client-side form validation code. How do you test it? In this episode, we take a close look at DOM Events, then consider three strategies for testing UIs: Robots (such as Selenium), Simulation, and Thin UIs. We demonstrate the strategies in code and discuss the tradeoffs of each approach.

  1. LL11Front-End Unit Testing in a Nutshell

    Fri, 3 May ’13
  2. E51Click, Position, and Spike

    Wed, 28 Nov ’12
  3. E52Dragging the Mouse

    Mon, 3 Dec ’12
  4. E53Too Much Test Code

    Wed, 5 Dec ’12
  5. E54Testing the Click Event

    Mon, 10 Dec ’12
  6. E55Border Patrol

    Wed, 12 Dec ’12
  7. E56Back to Click Tracking

    Mon, 17 Dec ’12
  8. E57Simplify Our Assertions

    Wed, 19 Dec ’12
  9. E58A Conundrum

    Mon, 24 Dec ’12
  10. E59A Solution

    Mon, 31 Dec ’12
  11. E60What a Drag

    Wed, 2 Jan ’13
  12. E61Refinement & Simplification

    Mon, 7 Jan ’13
  13. E62Telling the Story

    Wed, 9 Jan ’13
  14. E63Outside-In

    Mon, 14 Jan ’13
  15. E64Inside-Out

    Wed, 16 Jan ’13
  16. E65A Big Step Back

    Mon, 21 Jan ’13
  17. E66Event-full

    Wed, 23 Jan ’13
  18. E67Self-Contained

    Mon, 28 Jan ’13
  19. E68Event Propagation & Defaults

    Wed, 30 Jan ’13
  20. E69IE 8 Event Insanity

    Mon, 4 Feb ’13