The Agile Way

The Agile Way

Share this post

The Agile Way
The Agile Way
#29: Search/Find/Filter Clients (Test Data Preparation)
Selenium Training Workbook

#29: Search/Find/Filter Clients (Test Data Preparation)

Test data preparation; Search as you type

Courtney Zhan's avatar
Courtney Zhan
Mar 04, 2024
∙ Paid
1

Share this post

The Agile Way
The Agile Way
#29: Search/Find/Filter Clients (Test Data Preparation)
Share

This exercise will introduce an important concept in E2E Test Automation: Test Data Preparation. Like many websites, the WhenWise app has a search function. In this exercise, we will do a simple search, finding clients by name.

Learning Objectives

  • Test Data Preparation

  • Make test data available for all test cases in one test script

  • Search-as-you-type text field

Test Design

For customer name searching, we must prepare a set of person names first (for different scenarios). There are two methods:

  • Using seeded data

  • Enter new test data for this test script

Method 1: (pure) Seeded test data

The test script depends on the seeded test data if the app provides this utility (WhenWise does, see this article).

Pros:

  • Very simple (for this test script), just use them.

  • Test execution will be fast

Cons:

  • Efforts to create and maintain the test data

  • If there are changes to seeded client test data, this test script (most likely) will fail.

Method 2: Fresh newly created test data for this test script

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