Selenium Clinic, Best Tutorial, Eurostar 2012

At Eurostar 2012 Simon Stewart (@shs96c, blog) and I presented the “Selenium Clinic” a half day tutorial on WebDriver.

We won the award for Best Tutorial.

We prepared a shed load of material, just in case no-one asked any questions.

Fortunately people did ask questions and the tutorial organised itself around the questions people had. We mostly managed to cover all the material we had. We didn’t get around to covering Page Object models in much depth and I don’t think we really covered domain models.

Fortunately, we released all the source code we produced in preparation on github, including the Page Object models and Domain Object models.

I used a subset of slides pulled from my Online WebDriver course as the clinic handouts because the slides on this course act as pretty good reference material.

A few interesting things to note when you look through the clinic code:

  • Simon packaged up the necessary jars individually in the repo. I tend to just include selenium-server-standalone-xxx.jar so I found it a learning experience to see what he included.
  • The code has a good mix of static and non-static includes of ExpectedConditions.
  • Some usage of Hamcrest matchers to illustrate making the code literate
  • Simon created a custom By method which I hadn’t had to do before so I enjoyed learning that.
  • Creating custom ExpectedConditions
  • Also compare the style differences in the tests between using Page Objects and Domain Objects
This entry was posted in Conferences. Bookmark the permalink.

One Response to Selenium Clinic, Best Tutorial, Eurostar 2012

  1. Pingback: Selenium Clinic Eurostar 2012 Slides » Selenium Simplified

Leave a Reply

Your email address will not be published. Required fields are marked *