Blog

November 10, 2026 · Ihor Stefaniv · 2 min read

Test case template: fields, examples and common mistakes

What every test case needs, good and bad examples side by side, and a free Excel template that imports straight into a test management tool.

The fields that matter

Field Purpose Example
ID A stable reference TC-101
Title What's being verified, in one line Apply a valid promo code to the cart
Module / section Where it belongs Cart
Preconditions The state before step 1 Logged-in user; cart total $125.00
Test data Exact values Code SALE10 (10%, active)
Steps One action per step 1. Enter SALE10 2. Click Apply
Expected result Observable and unambiguous Total $112.50; "10% discount applied"
Priority What to run first Critical
Type Positive / negative / edge Positive

Optional but useful: requirement link (for traceability), automation status, estimated time.

Good vs. bad

Bad:

Title: Check promo codes. Steps: Test promo code functionality. Expected: Works correctly.

Good:

TC-103 · Expired promo code is rejected Preconditions: cart total $125.00; code OLD20 expired on 10/31/2026. Steps: 1. Enter OLD20. 2. Click Apply. Expected: total stays $125.00; message "This promo code has expired" under the field; no discount line in the order summary.

Common mistakes

  1. Several checks in one case. When it fails, you don't know which part.
  2. Vague expected results — "correctly", "as expected", "properly".
  3. Hidden dependencies — TC-12 only works if TC-11 ran first.
  4. "Any valid data" — every tester picks something different; bugs become unreproducible.
  5. Steps that describe the UI instead of actions — they break with every redesign.
  6. No negative cases — only the happy path is covered.

How many cases?

Use test design techniques instead of intuition: equivalence classes and boundary values for fields, decision tables for rules, pairwise for combinations. That gives you the minimum set with the maximum chance of finding bugs.

Free template

Download the test case template (Excel) — the columns match the QA Tools importer, so you can move from a spreadsheet to tracked test runs in a minute. For more on structure and documentation, see test cases and checklists.

Read next