Test case format: fields, an example and a free template
A test case is a documented check with a fixed shape: an ID, a title, preconditions, numbered steps, the test data used, the expected result, the actual result, a status (pass/fail/blocked/not run) and the device and OS it ran on. Keeping every case in that format makes results repeatable, easy to review and easy to turn into a clear bug report.
What goes in each field
| Field | What it holds |
|---|---|
| ID | A unique, stable identifier (e.g. LOGIN-01) so the case can be referenced in a report or bug. |
| Title | A short sentence naming what is being verified, written as an outcome. |
| Preconditions | The state the app and data must be in before the steps — accounts, device, network, feature flags. |
| Steps | The exact, numbered actions a tester performs, each one observable. |
| Test data | The specific inputs used — the email, the amount, the file — so the case is repeatable. |
| Expected result | What should happen if the app is correct, stated precisely enough to judge pass or fail. |
| Actual result | What actually happened on this run, filled in during execution. |
| Status | Pass, Fail, Blocked or Not run for this run. |
| Device & OS | The real phone, OS version and browser the case was run on, since results differ across them. |
One real case, fully written out
Taken straight from the login page test cases:
| ID | LGN-01 |
| Title | Sign in with a registered email and the correct password |
| Preconditions | A valid, active account exists; app installed on a real Android phone; working data connection. |
| Steps | 1. Open the app and tap Sign in 2. Enter a registered email and its correct password 3. Tap Sign in |
| Test data | Registered email and correct password for the test account. |
| Expected result | The home screen opens showing the account's name or avatar. No error, extra prompt or second login screen appears. |
| Actual result | (filled in when the case is run) |
| Status | (Pass / Fail / Blocked / Not run) |
| Device & OS | Redmi Note 13, Android 14 / MIUI — or the device under test |
Download a blank template with these columns
A ready-to-fill sheet with every field as a column, plus the worked example in row one. It stays one click and never asks for your email.
Test cases already written in this format
Every set in the library follows this format. Jump to any flow:
- Test cases for a banking app 30 cases
- Test cases for a calculator 26 cases
- Test cases for a chat / messaging app 30 cases
- Test cases for a hotel booking app 29 cases
- Test cases for a lift / elevator 26 cases
- Test cases for a pen 26 cases
- Test cases for a registration / sign-up page 27 cases
- Test cases for a shopping cart in an e-commerce app 36 cases
- Test cases for a website 28 cases
- Test cases for Aadhaar eKYC, PAN and video KYC 40 cases
- Test cases for an ATM 28 cases
- Test cases for an e-commerce app 30 cases
- Test cases for an email and password login page 39 cases
- Test cases for app updates, forced and flexible 36 cases
- Test cases for bank fund transfer: IMPS, NEFT and RTGS 40 cases
- Test cases for biometric login and MPIN fallback 34 cases
- Test cases for cab, auto and bike taxi booking 38 cases
- Test cases for digital loan application and EMI repayment 40 cases
- Test cases for e-commerce checkout and order placement 39 cases
- Test cases for food delivery order tracking 36 cases
- Test cases for forgot password and password reset 35 cases
- Test cases for Hindi and regional language support 36 cases
- Test cases for in-app search, filters and sort 37 cases
- Test cases for mobile number sign-up and device binding 34 cases
- Test cases for mobile recharge and BBPS bill payment 39 cases
- Test cases for offline and poor network handling 39 cases
- Test cases for payment gateway: cards, net banking, wallets 39 cases
- Test cases for push notifications on Android and iOS 40 cases
- Test cases for QR code scan and pay: static and dynamic QR 38 cases
- Test cases for runtime permissions on Android and iOS 37 cases
- Test cases for SMS OTP login with a mobile number 38 cases
- Test cases for stock trading orders in a broking app 40 cases
- Test cases for train ticket booking and PNR status 40 cases
- Test cases for UPI AutoPay mandates and recurring debits 40 cases
- Test cases for UPI payment: PIN, intent and pending states 40 cases
300+ companies · 127,000+ bugs reported · 20,000 testers on real phones · since 2010 · see a sample report
Run these cases on real phones
From ₹9,999 + GST, report in 3 business days. Our testers run your cases on the phones, laptops and browsers real Indian users own — on Jio, Airtel and Vi — and send back a verified pass/fail report.
Earn by testing apps with 99tests
Join 20,000+ testers who run real apps on their own phones and get paid for every verified bug.
Email me new test case sets each month
One email a month. Unsubscribe anytime.