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.