The Agile Way

The Agile Way

Share this post

The Agile Way
The Agile Way
10 Enter Passenger Names
Selenium Training Workbook

10 Enter Passenger Names

Assert text in a text box and control's state

Zhimin Zhan's avatar
Zhimin Zhan
Nov 25, 2022
∙ Paid
1

Share this post

The Agile Way
The Agile Way
10 Enter Passenger Names
Share

Learning Objectives

  • Review

    • Clone an existing test script

    • Xpath locator

  • Focused Test Design

  • Assertions

    • page title

    • control state

    • the text in a text box

  • Introduce local variable (optional)

Test Case 10

Test Design

The focus of this test case is on the passenger page: Login → Flight Page → Passenger Page. On the fight page, from the previous exercise, we have two options: one-way and return flights. Which one shall we choose? The one-way flight.

The logic behind, I call it “Focused Test Design”. Let me illustrate it with examples.

Keep reading with a 7-day free trial

Subscribe to The Agile Way to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Zhimin Zhan
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share