Templates

Test Case, Bug Report, Test Plan & RTM Templates (with Real Examples)

Ready-to-use QA templates with filled examples — 32 sample test cases for login, cart and payment, a bug report template, a test plan, an RTM and a test summary report. Copy into Excel, JIRA or Zephyr.

✍️ By QA Jobs India📅 16 Oct 2026⏱ 16 min read

Interviewers often ask freshers to “write test cases for a login page” or “show how you report a bug”. On the job, the same documents — test cases, bug reports, test plans and traceability matrices — are what your lead reviews every sprint.

This page gives you professional templates with filled examples you can copy straight into Excel, Google Sheets, JIRA, Zephyr or TestRail. Tap Download PDF to keep a copy.

📚 All QA study material

Test scenario vs test case

A test scenario is a one-line description of what to test (“Verify login with valid credentials”). A test case is the detailed, repeatable version with preconditions, steps, data and expected result. One scenario usually has several test cases (positive, negative and boundary).

Standard test case template

FieldWhat to write
Test Case IDUnique id, e.g. TC_LOGIN_001
Module / FeatureLogin, Cart, Payment…
Requirement / Story IDJIRA story or requirement it covers (for traceability)
Test ScenarioOne-line objective
PreconditionsWhat must be true before you start (user registered, item in stock)
Test StepsNumbered, one action per step
Test DataExact inputs used
Expected ResultWhat should happen — measurable and specific
Actual ResultWhat happened (filled during execution)
StatusPass / Fail / Blocked / Not Run
PriorityHigh / Medium / Low
TypePositive, Negative, Boundary, UI, Security…
Executed by / Date / BuildWho ran it, when and on which build
Remarks / Bug IDLinked defect if failed

🚀 Practised the templates? Apply to fresh QA jobs

QA Jobs India shares 100+ fresh QA & software testing openings every morning — manual, automation, API and remote roles.

See today’s QA jobs →

Sample test cases: Login page (12)

IDScenarioStepsTest dataExpected resultPriority
TC_LOGIN_001Valid login1. Open login page 2. Enter email and password 3. Click Loginqa.user@test.com / Valid@123User lands on dashboard; name shown in headerHigh
TC_LOGIN_002Wrong passwordEnter valid email, wrong password, click Loginqa.user@test.com / Wrong@1“Invalid email or password” shown; user stays on login pageHigh
TC_LOGIN_003Unregistered emailEnter unregistered email and any passwordnouser@test.comSame generic error (no hint that email does not exist)High
TC_LOGIN_004Empty fieldsClick Login with both fields empty—Required-field messages for email and password; no request sentMedium
TC_LOGIN_005Invalid email formatEnter email without @qa.usertest.com“Enter a valid email” validationMedium
TC_LOGIN_006Password maskingType passwordValid@123Characters masked; eye icon toggles visibilityLow
TC_LOGIN_007Account lockEnter wrong password 5 timesWrong@1 ×5Account locked for 15 min with clear message (as per rule)High
TC_LOGIN_008Remember meLogin with “Remember me”, close and reopen browserValid userUser still logged in until session expiryMedium
TC_LOGIN_009Logout and back buttonLogin, logout, press browser BackValid userDashboard not shown; redirected to loginHigh
TC_LOGIN_010SQL injectionEnter ' OR '1'='1 in emailInjection stringLogin fails safely; no DB error shownHigh
TC_LOGIN_011Leading/trailing spacesEnter email with spaces around it“ qa.user@test.com ”Spaces trimmed (or clear validation), per requirementLow
TC_LOGIN_012Forgot password linkClick “Forgot password?”—Reset page opens; reset email sent to registered addressMedium

Sample test cases: Shopping cart (10)

IDScenarioExpected resultPriority
TC_CART_001Add an in-stock itemItem added, cart badge count increases by 1, success message shownHigh
TC_CART_002Add same item twiceQuantity becomes 2 (not two separate lines)High
TC_CART_003Update quantityLine total and cart total recalculate correctlyHigh
TC_CART_004Quantity 0 or negativeNot allowed; item removed at 0 or validation shownMedium
TC_CART_005Maximum quantity limitCannot exceed stock / max-per-order; clear messageMedium
TC_CART_006Remove itemItem removed; totals update; empty-cart message when last item removedHigh
TC_CART_007Out-of-stock item in cartWarning shown; checkout blocked for that itemHigh
TC_CART_008Apply valid couponDiscount applied once; total correct; coupon shownHigh
TC_CART_009Invalid / expired couponError message; total unchangedMedium
TC_CART_010Cart persistenceGuest cart merges with account cart after login; cart kept after logout/loginMedium

Sample test cases: Payment (10)

IDScenarioExpected resultPriority
TC_PAY_001Successful card paymentOrder placed, payment status “Paid”, confirmation page and email/SMSHigh
TC_PAY_002Successful UPI paymentUPI app/collect request flow works; order confirmed after success callbackHigh
TC_PAY_003Declined cardClear failure message; order not placed; user can retryHigh
TC_PAY_004User cancels on gateway pageReturns to checkout with “Payment cancelled”; cart intactHigh
TC_PAY_005Network drop after paymentNo double charge; order status reconciled via webhook; user sees correct statusHigh
TC_PAY_006Double-click Pay buttonOnly one transaction createdHigh
TC_PAY_007Amount checkGateway amount = cart total incl. tax, shipping and discountHigh
TC_PAY_008Refund on cancellationRefund initiated to source; status and timeline shownMedium
TC_PAY_009Sensitive dataCard number masked; CVV never stored or logged; HTTPS onlyHigh
TC_PAY_010Session timeout on payment pageUser asked to log in again; no partial order leftMedium
Tip for interviews: when asked to write test cases, first ask 2–3 clarifying questions (allowed payment methods, lock rules, supported browsers), then cover positive, negative, boundary, UI, security and performance angles. Interviewers value structured thinking more than a long list.

Bug report template

Bug ID: BUG-1234 (auto in JIRA)
Title: [Module] What is wrong + where (short and specific)
Environment: QA / Staging · Build 2.4.1 · Chrome 129 · Windows 11 (or device + OS version)
Severity: Critical / Major / Minor / Trivial   Priority: P1 / P2 / P3
Preconditions: …
Steps to reproduce: 1. … 2. … 3. …
Test data: …
Expected result: …
Actual result: …
Frequency: Always / Intermittent (3 of 5 tries)
Attachments: screenshot, screen recording, console/network logs, API request & response
Linked story / test case: STORY-210 / TC_PAY_007

Filled example

Title: [Checkout] Order total ignores coupon discount when shipping is free
Environment: Staging · Build 2.4.1 · Chrome 129 / Android 14 app 5.2.0
Severity: Major   Priority: P1
Preconditions: User logged in; coupon SAVE10 active (10% off); cart value above ₹999 (free shipping)
Steps: 1. Add “Wireless Mouse” (₹1,200) to cart 2. Apply coupon SAVE10 3. Proceed to payment
Expected: Payable amount ₹1,080 on cart and payment page
Actual: Cart shows ₹1,080 but the payment page charges ₹1,200
Frequency: Always
Attachments: video, network log showing /api/checkout response "discount": 0
  • Severity = impact on the product (set by QA). Priority = how soon to fix (set by PO/lead).
  • One bug per report; never combine issues.
  • Write the title so a developer understands it without opening the ticket.
  • Always attach evidence — a 20-second video saves 20 minutes of discussion.

Test plan template

SectionWhat to include (example)
1. Introduction / ObjectivePurpose of testing for release 2.4 — new UPI payment and coupon engine
2. Scope — in scopeCart, coupons, UPI and card payments, order confirmation, refunds (web + Android)
3. Scope — out of scopeiOS app, admin panel, load testing beyond 500 users
4. Test approachFunctional, regression (automated Selenium/Playwright suite), API (Postman/REST Assured), exploratory, cross-browser, basic security
5. Test environmentStaging URL, test payment gateway sandbox, Chrome/Firefox/Edge latest, Android 12–14 devices, test DB
6. Entry criteriaStories meet DoR, build deployed to staging, smoke suite passes, test data ready
7. Exit criteriaAll High-priority cases executed, 95%+ pass rate, no open Critical/Major bugs, regression green
8. Suspension / resumptionSuspend if smoke fails or environment is down for over 4 hours; resume on a fixed build
9. DeliverablesTest cases, execution report, bug report, RTM, test summary report
10. ScheduleTest design 6–8 Oct, execution 9–15 Oct, regression 16–17 Oct, sign-off 18 Oct
11. RolesQA lead: plan and sign-off; 2 QA engineers: execution; SDET: automation; PO: UAT
12. Risks and mitigationGateway sandbox downtime → mock responses; late builds → risk-based prioritisation
13. ToolsJIRA + Zephyr, Postman, Selenium/Playwright, Jenkins, BrowserStack
14. ApprovalsQA lead, Dev lead, Product owner

Requirement Traceability Matrix (RTM) template

An RTM maps every requirement to its test cases, executions and defects, proving coverage and showing the impact of changes.

Req / Story IDRequirementTest case IDsStatusDefect IDsCoverage
STORY-201User can log in with email and passwordTC_LOGIN_001–009Pass—100%
STORY-202Account locks after 5 failed attemptsTC_LOGIN_007FailBUG-1201100%
STORY-210Coupon discount applies to cart and paymentTC_CART_008–009, TC_PAY_007FailBUG-1234100%
STORY-215Pay using UPITC_PAY_002, 004, 005In progress—67%
STORY-220Refund on cancellationTC_PAY_008Not run—0%

Types: forward traceability (requirement → tests), backward (test → requirement) and bidirectional (both).

Test summary report template

Project / Release: ShopApp 2.4  ·  Test cycle: 9–17 Oct 2026
Builds tested: 2.4.0 → 2.4.3
Test cases: 420 planned · 412 executed · 398 passed · 10 failed · 4 blocked (96.6% pass)
Automation: 260 regression tests, 99% pass, 3 flaky tests fixed
Defects: 46 raised · 41 fixed & closed · 5 open (0 Critical, 1 Major, 4 Minor — all with workarounds)
Not tested / risks: iOS out of scope; UPI on Android 11 not covered due to device unavailability
Recommendation: Go for release, with known issues BUG-1250 and BUG-1262 listed in release notes
Sign-off: QA Lead · Dev Lead · Product Owner

Next, practise writing these under time pressure with our manual testing interview questions.

FAQs

What is the best format for writing test cases?

Excel/Google Sheets for interviews and small teams; JIRA with Zephyr or Xray, or TestRail, in most companies. The fields stay the same.

How many test cases should I write for a login page?

In an interview, 10–15 well-chosen cases covering positive, negative, boundary, security and UI are better than 50 repetitive ones.

Who prepares the test plan?

Usually the QA lead or test manager, with input from testers, developers and the product owner. Testers should still understand every section.

Is an RTM still used in Agile?

Yes, often generated automatically from JIRA links between stories, test cases and bugs (Zephyr/Xray traceability reports).

💎 Get every QA opening, every day

Join QA Jobs India Premium for 100+ verified QA jobs daily with HR contact details.

✓ You're subscribed — job alerts arrive daily at 9 AM
Scroll to Top