ExpoQA 2022 was a conference that took place in Madrid between the 31st May and 2nd June 2022. This week I will be posting some sketchnotes for the talks that I attended.

Test automation is a popular career path for testers. Unfortunately, many attempt to develop automated tests without fully understanding the basics of programming. This talk provided a summary of topics which every test automation developer needs to know. Each sub-topic could cover an entire talk by itself – fitting everything onto a single sketchnote was a challenge. Christian makes it clear that the aim of his talk was to provide a brief summary of each sub-topic. It is our job to continue our learning after the talk.

#Sketchnote of talk ‘Don’t be a fool with a tool’ by Christian Baumann at ExpoQA 2022

Key points

  • People who attempt to develop automated tests without proper training tend to write messy code, which require a lot of maintenance.
  • It is important to formulate a test strategy, which includes identifying a goal and specifying when and how the tests are going to be run.
  • It is important to manage the test data effectively. Options include:
    • Creating the data before each test is run (an option not suitable for automation)
    • Inserting test data into a database before the tests are run
    • Creating the test data as part of each test (must take care to tidy of the data after the test)
  • Learning to recognise common code smells can help with developing clean code.
  • Develop an understanding of object oriented programming principles:
    • Encapsulation
    • Abstraction
    • Polymorphism
    • Inheritance
  • Clean code is essential. Everyone on the team needs to understand what the code does. Always leave code cleaner than when you found it.
  • Understand common test automation design patterns. Some of these are:
    • Page Object Model
    • Screenplay Pattern
    • Object Mother Pattern