Mastering Selenium

room: Sheraton Hall B, LC — time: Tuesday 14:00-15:30
Average Rating: -

Getting Selenium Core up and running is fairly easy. Making it hum in a real-world XP/Agile project requires experience and a heap of tips and tricks. In this tutorial, participants will learn from our hard-earned experience in the trenches, and see code and tests from Industrial Logic’s shipping product. I will describe specific Selenium problems we’ve encountered, technique(s) we employed to solve those problems and what our final test scripts looked like.

In Part I of this tutorial, I’ll cover such issues as:

  • what to do when you get false negatives (failing tests that should pass)
  • managing setup and teardown effectively and efficiently
  • dealing with t-t-t-timing problems
  • testing Ajax calls
  • forcing a web session timeout without changing application code
  • using Selenium Grid to run continuous tests on multiple browsers

In Part II of this tutorial, I’ll touch on how we create Selenium test scripts that are easy to read, that share code, are well structured and resilient to changes in the UI.

In Part III of this tutorial, I’ll demonstrate how we do Storytest-Driven Development using Selenium and the tips and tricks we’ve learned.

Process/Mechanics

This tutorial is an interactive presentation, complete with lots of stories from the trenches, plenty of demonstrations of shipping code and tests. I’ll answer questions all along the way, while keeping a good pace to get through all of these important concepts.