- Home
- Skills
- Testing & Debugging
- QA Quick Test Cases: Excel Test Sheet from a User Story
More screenshots
Works with the AI Agents you already use
QA Quick Test Cases: Excel Test Sheet from a User Story
- **Makes every case executable:** separate Precondition, Test data (concrete values), numbered Test steps and an Expected result, so a tester can run it without asking.
Free
QA Quick Test Cases: Excel Test Sheet from a User Story
Example session with this skill installed
Write test cases for this feature and export them to Excel:
DemoShop – Redeem a gift card at checkout (ticket DS-482)
- On the Payment step, a signed-in customer can enter a gift card code (16 characters, letters and digits,
not case-sensitive) and click "Apply". - A valid code shows the card balance and deducts it from the order total. If the balance is larger than
the total, the remaining balance stays on the card for later use. - If the balance is smaller than the total, the customer pays the rest by card or e-wallet.
- At most 2 gift cards per order. Expired, already-used (balance 0) or unknown codes show an error.
- After 5 wrong codes in 15 minutes, gift card entry is locked for that account for 30 minutes.
- Gift cards cannot be used to buy other gift cards.
- Read your context and instructions
- Compiled the qa quick test
- Generated the UI component
Excel: test-cases-for-review/2026-11-23_13-40-18-redeem-a-gift-card-at-checkout.xlsx (Markdown draft: same name, .md). 21 test cases in 3 groups (I. Apply gift card, II. Pay the order, III. Wrong-code lockout). 6 Expected results are highlighted for PO/BA confirmation: No. 7, 8, 10, 11, 17, 21.
Test Case: Redeem a gift card at checkout (DS-482)
| No. | Module/Function | Test objective | Precondition | Test data | Test steps | Expected result |
|---|---|---|---|---|---|---|
| 1 | Apply gift card | [Positive] Apply a valid gift card whose balance is less than the order total | Signed-in customer on the Payment step; order total $80 | Code GC7K2M9P4Q1R8T3V, balance $50 | 1. Enter the code in the gift card field<br>2. Click "Apply" | Card balance $50 is shown; $50 is deducted; amount left to pay is $30 |
| 2 | Apply gift card | [Positive] Code is accepted in lowercase | Signed-in customer on the Payment step | Code gc7k2m9p4q1r8t3v (valid, balance $50) | 1. Enter the code in lowercase<br>2. Click "Apply" | Code is accepted (not case-sensitive); balance $50 is shown and deducted |
| 3 | Apply gift card | [Positive] Apply 2 gift cards to the same order | Signed-in customer on the Payment step; order total $120 | Card A balance $50; card B balance $40 | 1. Apply card A<br>2. Apply card B | Both cards are listed; $90 is deducted in total; amount left to pay is $30 |
| 4 | Apply gift card | [Negative] Unknown code | Signed-in customer on the Payment step | Code ZZZZ0000ZZZZ0000 (does not exist) | 1. Enter the code<br>2. Click "Apply" | Error message for an invalid code; nothing is deducted; order total unchanged |
| 5 | Apply gift card | [Negative] Expired gift card | Signed-in customer on the Payment step | Code of a card that expired yesterday, balance $50 | 1. Enter the code<br>2. Click "Apply" | Error message for an expired card; nothing is deducted |
| 6 | Apply gift card | [Negative] Gift card already used up | Signed-in customer on the Payment step | Code of a card with balance $0 | 1. Enter the code<br>2. Click "Apply" | Error message for a used card; nothing is deducted |
| 7 | Apply gift card | [Negative] Apply with an empty code field | Signed-in customer on the Payment step | Empty field | 1. Leave the field empty<br>2. Click "Apply" | "Apply" is disabled or a required-field error is shown (assumed: exact behavior – needs confirmation); nothing is deducted |
| 8 | Apply gift card | [Boundary] Code shorter or longer than 16 characters | Signed-in customer on the Payment step | GC7K2M9P4Q1R8T3 (15 chars); GC7K2M9P4Q1R8T3VX (17 chars) | 1. Enter the 15-character code, click "Apply"<br>2. Enter the 17-character code, click "Apply" | Both codes are rejected with an invalid-code error (assumed: length is checked before lookup – needs confirmation) |
| 9 | Apply gift card | [Boundary] Try to apply a third gift card | Signed-in customer; 2 gift cards already applied to the order | Card C, valid, balance $20 | 1. Enter card C<br>2. Click "Apply" | Card C is rejected with a message that at most 2 gift cards can be used per order; the 2 applied cards stay |
| 10 | Apply gift card | [Boundary] Code with spaces around it | Signed-in customer on the Payment step | " GC7K2M9P4Q1R8T3V " | 1. Paste the code with leading/trailing spaces<br>2. Click "Apply" | Code is accepted after trimming the spaces (assumed: spaces are trimmed – needs confirmation) |
| 11 | Pay the order | [Positive] Gift card balance covers the whole order | Signed-in customer on the Payment step; order total $40 | Card balance $100 | 1. Apply the card<br>2. Place the order | Order total becomes $0 and the order is placed without card or e-wallet (assumed: no second payment method is asked – needs confirmation); card balance becomes $60 for later use |
| 12 | Pay the order | [Positive] Pay the rest by card | Order total $80; gift card with balance $50 applied | Test card 4111 1111 1111 1111 | 1. Choose "Card" for the remaining $30<br>2. Pay | $50 is taken from the gift card and $30 from the card; order is placed |
| 13 | Pay the order | [Positive] Pay the rest by e-wallet | Order total $80; gift card with balance $50 applied | Test e-wallet account | 1. Choose "E-wallet" for the remaining $30<br>2. Pay | $50 is taken from the gift card and $30 from the e-wallet; order is placed |
| 14 | Pay the order | [Negative] Use a gift card to buy another gift card | Signed-in customer; cart contains a $25 gift card product | Valid gift card, balance $50 | 1. Go to the Payment step<br>2. Apply the gift card | Gift card cannot be applied; a message says gift cards cannot be used to buy gift cards |
| 15 | Pay the order | [Boundary] Balance exactly equals the order total | Order total $50 | Card balance $50 | 1. Apply the card<br>2. Place the order | Order total becomes $0; order is placed; card balance becomes $0 |
| 16 | Wrong-code lockout | [Positive] Valid code after 4 wrong attempts | Signed-in customer on the Payment step | 4 unknown codes, then a valid code | 1. Enter 4 unknown codes within 15 minutes<br>2. Enter the valid code | Valid code is applied; gift card entry is not locked |
| 17 | Wrong-code lockout | [Boundary] 5 wrong attempts spread over more than 15 minutes | Signed-in customer on the Payment step | 5 unknown codes, the 5th entered 16 minutes after the 1st | 1. Enter 4 unknown codes<br>2. Wait 16 minutes after the first one<br>3. Enter a 5th unknown code | Entry is not locked (assumed: the 15 minutes are a rolling window – needs confirmation) |
| 18 | Wrong-code lockout | [Security] Lock after 5 wrong codes in 15 minutes | Signed-in customer on the Payment step | 5 unknown codes | 1. Enter 5 unknown codes within 15 minutes<br>2. Enter a valid code | Gift card entry is locked for 30 minutes; the valid code is not accepted during the lock |
| 19 | Wrong-code lockout | [Security] Lock ends after 30 minutes | Account locked for gift card entry | Valid code | 1. Wait 30 minutes after the lock starts<br>2. Enter the valid code | Code is applied normally |
| 20 | Wrong-code lockout | [Security] Lock applies to the account, not the device | Account locked on browser A | Same account on browser B | 1. Sign in on browser B<br>2. Try to apply a valid code | Code is not accepted; the account is still locked |
| 21 | Wrong-code lockout | [Security] Gift card entry for a guest | Not signed in, on the Payment step | Valid code | 1. Look for the gift card field | Gift card field is not available to guests (assumed: guests must sign in first – needs confirmation) |
Next steps
- Confirm the 6 highlighted expected results with the PO/BA, then update the sheet.
- Run the cases and fill in Actual result, Bug ID, Notes and Tester as you go.
2026-11-23_13-40-18-redeem-a-gift-card-at-checkout.xlsx
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Writing test cases by hand and then formatting them in Excel eats the time you need for testing. Quick Test Cases writes a compact, practical set from a short requirement and hands you an Excel sheet your team can start executing right away.
What it does
- Writes a base set of test cases in four groups: Positive (happy path), Negative, Boundary / Edge and Security / Permission, each tagged
[Positive],[Negative],[Boundary]or[Security]. - Makes every case executable: separate Precondition, Test data (concrete values), numbered Test steps and an Expected result, so a tester can run it without asking.
- Exports a formatted Excel sheet with a bundled Python script: a metadata block (feature name, ticket link, tester, date), cases grouped by module as "I.", "II."…, continuous numbering, wrapped text, and blank Actual result / Bug ID / Notes / Tester columns for execution.
- Highlights what still needs confirming: an Expected result that rests on an assumption is written as "(assumed: … – needs confirmation)" and its cell is filled light orange; the reply lists those case numbers for your PO/BA.
- Asks instead of guessing when you give only a feature name: up to 2 short questions, and no file until you answer.
Why use this skill
Asking an agent for test cases usually gives a Markdown table you still have to copy, split into columns and format. This skill produces the same Excel layout every time, keeps preconditions, data and steps in their own columns, and makes the open questions visible instead of burying them in the expected results.
Use cases
- Writing a first test case set for a new user story before a sprint review
- Turning acceptance criteria into an Excel sheet for manual or regression testing
- Preparing test cases to share with developers, BAs or an outsourced test team
- Collecting the assumptions to confirm with the PO/BA before testing starts
Output
Two files in test-cases-for-review/:
yyyy-mm-dd_hh-mm-ss-feature-name.xlsx: the deliverable, sheet "TCs" with 10 columns (No., Test objective, Precondition, Test data, Test steps, Expected result, Actual result, Bug ID, Notes, Tester)- the same name with
.md: the Markdown draft, for quick review or diff
The chat reply stays short: both file paths and the numbers of the cases highlighted for confirmation.
Need a full, traceable suite?
The paid QA Test Case Generator is for suites that must stand up to review: 9 test design techniques with every case tagged, traceability to your requirement and risk IDs when you have them, a coverage verdict computed by a script (PASS / CONDITIONAL PASS / FAIL) and a 16-column workbook with Summary and Assumptions sheets.
Ran the sheet by hand?
The paid QA Test Run Report turns this sheet, once Pass/Fail is filled in, into a shareable results page: totals counted by a script, failed and blocked cases with their bugs, and open items per owner.
Language
Written in English; answers in the language you use (English or Vietnamese). The Excel labels switch to match; the case tags and technical terms stay in English.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.
- It writes a practical base set, not an exhaustive coverage analysis: one requirement at a time, typically 15–25 cases.
- The Excel export needs Python 3.8+ and openpyxl on your machine; without them you still get the Markdown table.
- It works only from the requirement you give it. It does not read your codebase, app or tracker, and it does not run the tests.
- The Excel layout is fixed (sheet "TCs", 10 columns); it does not fill in an existing company template.
- Expected results based on assumptions are highlighted, but someone still has to confirm them with the PO/BA.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
This skill has been used 14 times.
Trust & safety
Security scan
Security scan passed 6 days ago
- Free with an Agensi account
- Software
Python 3.8+openpyxl
Permissions
File Scopes
Terminal: runs the bundled Python script that builds the Excel file. Read Files: only the requirement you point to. Write Files: one .md and one .xlsx in test-cases-for-review/. No network calls (if openpyxl is missing, the agent asks to install it with pip).