The Agile Way

The Agile Way

Share this post

The Agile Way
The Agile Way
23 Update Professional Test - without database reset
Selenium Training Workbook

23 Update Professional Test - without database reset

Zhimin Zhan's avatar
Zhimin Zhan
Oct 31, 2023
∙ Paid
1

Share this post

The Agile Way
The Agile Way
23 Update Professional Test - without database reset
Share

Learning Objectives

  • Understand Test Independency

  • Dynamic Test Data

  • Review: XPath Locator got back to the parent node

  • Review: Refactoring

    If you haven’t done so already in #22. We won’t list Refacgtoring in the objectives from now on, a must. Make it a habit.

  • Review: Partial Link Text Locator

Test #23 CRUD without Database Reset

In #22, creating CRUD tests seems quite easy, thanks to WhenWise Sandbox’s database reset utility. For 99.99+% web apps, there is no such utility. This exercise shows conventional CRUD testing.

As RUD is essentially the same in this regard (on test independence), we will just do one Update test case.

Test Design

  • Create a brand new Professional (remember its name)

  • Edit this professional

  • Change its first name

  • Toggle the enabled checkbox

  • Change its color in a dropdown list

  • Click Save to update

  • Verify the new Professional in the list


Knowledge Point: Test Independence

In the previous exercise, I touched briefly on Test Independency.

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