Selenium Workbook #35: Client Makes Booking

Courage to take on the core business scenario, on the first day.

Courtney Zhan
4 min readApr 20, 2024

--

This article is one of the “Web Test Automation Workbook” series (the complete training course will be on my Substack Newsletter), a set of bite-sized exercises (typically 15–20 mins). A practical and satisfying way to learn web test automation with Selenium WebDriver.

Learning Objectives

  • Using text() in XPath
  • Review:
    - visit a specific URL directly
    - waits
    - variable in string, e.g. "Hello #{name}"

You don’t need to perform refactoring in this exercise yet, we will do that in Ex#37.

Tip: Work on the main business scenario on your first day

WhenWise is a service booking app. This “Client Makes Booking” surely is the one of main business scenarios. Our series is a training course for total beginners, the order does not matter (the first episode using WhenWise is #20: Login tests). When a QA Engineer joins a new team, I recommend getting one simple core business scenario, like this one, implemented.

--

--