Section 1
Anatomy of a test case
A test case is one check, written so anyone can run it and get the same answer. Here's a complete one for a sign-in page:
- Preconditions
- A registered user exists: demo@thedappled.com
- Steps
- Open /testing/ui-automation/login
- Enter demo@thedappled.com in Email
- Enter WrongPass1 in Password
- Click Sign in
- Expected result
- The banner “Invalid email or password.” appears and the user stays on the sign-in page. The password field is cleared.
- Actual result
- filled in when run
- Status
- PassFailBlocked
Section 2
Writing clear steps
✕ Vague
- Title:
- Login test
- Steps:
- Try logging in with a bad password.
- Expected:
- Error shows.
Which page? Which error? What text?
✓ Specific
- Title:
- Wrong password shows the error banner
- Steps:
- Exact page, exact data, one action per step.
- Expected:
- The exact banner text.
Two testers get the same result.
- One behaviour per test case — if it fails, you know exactly what broke.
- Use real test data, not “a valid email”.
- Each case can run on its own — don't rely on the previous case.
Section 3
What goes in a bug report
Title
What's wrong, where.
Environment
Browser, device, build.
Steps to reproduce
The most important part.
Expected vs actual
What should vs did happen.
Severity & priority
Impact and urgency.
Evidence
Screenshot, video, logs.
Section 4
Example bug report
- Environment
- Chrome 131 · Windows 11 · build 2026.11.22
- Steps to reproduce
- Open /testing/ui-automation/signup
- Fill all fields; Password: Test@1234, Confirm: Test@9999
- Tick the terms box and click Create account
- Expected
- “Passwords do not match” error under Confirm password; no account created.
- Actual
- The success message appears and the account is created.
- Evidence
- signup-mismatch.pngReproduces 3 of 3 times.
Section 5
Severity vs priority
Severity is how badly it breaks the product. Priority is how soon it must be fixed. They often match — but not always.
High severity · High priority
Checkout crashes for every user.
High severity · Low priority
Crash in a yearly admin export that nobody needs until March.
Low severity · High priority
The company name is misspelled on the homepage.
Low severity · Low priority
A footer icon is 2px out of line.
Section 6
The bug life cycle
- New
- Assigned
- In progress
- Fixed
- Retest
- Closed
↺ Reopened — if it still fails on retest, it goes back to In progress.
Check your understanding
5 quick questions
Pick one answer for each · 5 of 5 completes the step
0 of 5 answered · sign in to save your progress