Skip to main content

Nov 12, 2012 - 2 minute read - Conferences Selenium Simplified Blog

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

- in Conferences Selenium Simplified Blog

You will need a Github account to comment. Or you can contact me with your comment.

I reserve the right to delete spam comments e.g. if your comment adds no value and its purpose is simply to create a backlink to another site offering training, or courses, or etc.