manual-test-script-author
Builds stakeholder-readable scripted manual test cases from a feature spec - emits either a step-table format (preconditions / steps / expected result / actual / pass-fail / notes) for spreadsheet review or a Gherkin Given/When/Then format for BDD-aware teams. Each script is self-contained (no implicit team knowledge), single-scenario (one happy + N edge per script), and includes the data setup the tester needs without being a developer. Use when a feature can't be (or shouldn't be) fully automated and a human tester needs an executable script - UAT, regression baselines, certification testing, exploratory follow-up scripts.
Install with skills.sh (any agent)
npx skills add testland/qa --skill manual-test-script-authormanual-test-script-author
Overview
Not every test should (or can) be automated. Some need a human:
This skill builds those scripts in two interchangeable formats: a step-table for spreadsheet review or Gherkin for BDD-aware teams.
For session-based exploratory tests (where the script doesn't predetermine steps), use a charter-driven exploratory session instead.
When to use
If the feature is fully automatable and the team has the budget, write an automated test - see acceptance-criteria-extractor for the upstream Gherkin generation.
Step 1 - Read the input
The skill takes one of:
Extract the actor, trigger, and observable outcomes - the same Gherkin structure as acceptance-criteria-extractor. A manual script is the same logical shape as a Gherkin scenario; the difference is the level of detail + the inclusion of setup data.
Step 2 - Format A: step-table (spreadsheet)
The default format. Reads top-to-bottom; each row is one step the tester executes:
## TC-1234 - Apply promo code at checkout
**Feature:** Checkout - promo codes
**Tester:** ____________________ **Date:** ____________________
**Build:** ____________________ **Environment:** staging | prod
### Preconditions
- [ ] User account `qa-test-user@example.com` exists with valid
payment method (Stripe test card 4242…) attached.
- [ ] Cart contains 1× SKU `BOOK-001` ($24.99).
- [ ] Promo code `WELCOME10` is active in the admin panel
(10% off, no minimum).
### Steps
| # | Action | Expected result | Actual | Pass/Fail | Notes |
|----|---------------------------------------------------------|----------------------------------------------------------------|--------|-----------|-------|
| 1 | Navigate to `/checkout`. | Cart subtotal shows `$24.99`. Promo input is visible. | | | |
| 2 | Enter `WELCOME10` in the promo input. Click `Apply`. | Subtotal updates to `$22.49`. Confirmation toast: "Code applied". | | | |
| 3 | Click `Place order`. | Confirmation page shows order ID. Total `$22.49` (plus tax). | | | |
| 4 | Check email inbox for `qa-test-user@example.com`. | Confirmation email arrives within 5 min, total `$22.49`. | | | |
### Sign-off
**Tester signature:** ____________________
**Sign-off date:** ____________________
### Defects raised
(list)The Preconditions block is load-bearing - without it, the tester improvises setup, and the script's repeatability collapses. Cite specific test data (account email, SKU, code) so two runs produce the same result.
Step 3 - Format B: Gherkin (BDD-aware)
Feature: Apply promo code at checkout
Background:
Given a logged-in user "qa-test-user@example.com" with a valid Stripe test card attached
And the user's cart contains 1× SKU "BOOK-001" ($24.99)
And promo code "WELCOME10" is active (10% off, no minimum)
Scenario: Apply valid promo at checkout
Given the user is on the /checkout page
When the user enters "WELCOME10" in the promo input
And the user clicks "Apply"
Then the subtotal updates from "$24.99" to "$22.49"
And a confirmation toast appears: "Code applied"
When the user clicks "Place order"
Then the confirmation page shows an order ID
And the order total is "$22.49" (plus tax)
And a confirmation email arrives within 5 minutes at "qa-test-user@example.com" with total "$22.49"
Scenario: Apply expired promo at checkout
Given promo code "EXPIRED50" is inactive (expired 2026-01-01)
When the user enters "EXPIRED50" in the promo input
And the user clicks "Apply"
Then the subtotal remains "$24.99"
And an error appears: "This code has expired"Same content as Format A, different shape. Pick based on the team's tooling: spreadsheets prefer A; Cucumber / Behat prefer B.
Step 4 - Single-scenario discipline
A 30-step script that bundles 5 scenarios (happy path + 4 edge cases) is unmaintainable. The pattern:
TC-1234 - Apply valid promo
TC-1235 - Apply expired promo
TC-1236 - Apply invalid-format promo
TC-1237 - Apply already-used promo
TC-1238 - Apply promo to empty cartThe cost is more TCs; the benefit is per-TC pass/fail clarity. A 30-step bundle that fails at step 17 obscures whether step 17 was the bug or step 12 was a precondition violation.
Step 5 - Self-contained data
Per exploratory-wiki (opens in new window):
"In reality, testing almost always is a combination of exploratory and scripted testing, but with a tendency towards either one, depending on context."
Manual scripts that depend on "the test data the team uses" or "whatever account QA has" fail when the next tester runs them. The script must specify:
Step 6 - Defect-raising integration
When a step fails, the tester needs to log a defect with enough context for the developer to reproduce. The script's Defects raised section captures:
| Defect ID | Step | Expected | Actual | Severity |
|-----------|-------|-----------------------------------|----------------------------------|----------|
| BUG-9876 | 2 | Subtotal updates to `$22.49` | Subtotal stays at `$24.99`; toast says "Invalid code" | high |Turn each failure into a structured bug-reproduction package.
Output format
## Manual test scripts - `<feature>`
**Source spec:** `<story / PRD / charter>`
**Format:** step-table | gherkin
**Scripts produced:** N
**Estimated wall time per full run:** ~M minutes
| TC ID | Title | Format | Wall time | Coverage |
|--------|---------------------------------------------|------------|----------:|----------|
| TC-1234 | Apply valid promo | step-table | ~3 min | happy path |
| TC-1235 | Apply expired promo | step-table | ~3 min | edge |
| TC-1236 | Apply invalid-format promo | step-table | ~2 min | edge |
(per-TC bodies follow)
### Test data dependencies
- Account: `qa-test-user@example.com`
- SKUs: `BOOK-001` ($24.99)
- Promo codes: `WELCOME10` (active), `EXPIRED50` (expired)
- Test card: Stripe `4242 4242 4242 4242`
### Author notes
- Each TC is self-contained - no implicit cross-TC dependencies.
- Sign-off block is per-TC; aggregate sign-off via release runbook.Anti-patterns
| Anti-pattern | Why it fails | Fix |
|---|---|---|
| One TC bundling 5 scenarios | Failure at step N obscures the cause; reruns repeat all N steps. | One TC per logical scenario (Step 4). |
| Vague preconditions ("the user is set up") | Different testers improvise differently; results diverge. | Specific account / SKU / data per script (Step 5). |
| Steps without expected results ("click submit") | Tester doesn't know what to assert; pass/fail is subjective. | Every step has an "Expected result" column (Step 2). |
| Manual scripts for fully-automatable features | Maintenance burden; diverges from the automated suite. | Automate first; manual scripts for the irreducibly-human cases (Use). |
| No defect-raising column | Failures get logged in chat / lost; reproducibility gone. | Defects-raised block (Step 6); link to bug-repro tooling. |
| Relying on the tester's experience to fill gaps | Onboarding new testers becomes painful. | Self-contained scripts; no implicit team knowledge (Step 5). |
| Scripts in PDF / Word that can't be diffed | Updates lost; tracking changes manual. | Markdown / Gherkin; version-controlled. |
Limitations
References
Related skills
bug-bash-facilitator
Builds a structured bug-bash session - pre-bash kit (charter, test-data prep, environment setup, sign-up sheet), in-bash structure (role rotation across cohorts, shared backlog board, real-time triage), scoring rubric (severity weighting, novelty bonus), and a post-bash same-day wrap-up authored by the facilitator (not a standalone debrief: for post-session writeups without a live bash, use manual-test-debrief). Use when a team needs a coordinated multi-tester sweep before a release or after a major change - converts an ad-hoc "everyone test for an hour" into a recorded, comparable session with deliverables.
crusspic-stmpl-heuristic
Pure-reference catalog of James Bach's CRUSSPIC STMPL heuristic - thirteen quality criteria (quality attributes / non-functional requirements) a tester can evaluate a system against. CRUSSPIC: Capability, Reliability, Usability, Security, Scalability, Performance, Installability, Compatibility. STMPL: Supportability, Testability, Maintainability, Portability, Localizability. Use when checking a product's quality attributes or non-functional requirements, or picking which quality characteristics a test session evaluates - a checklist for judging product quality holistically; complementary to the ISO/IEC 25010 software product-quality model.
decision-table-test-design
Derives human-readable manual test cases from a business-rule spec via a decision table: identify conditions and actions, build the full 2^n-column matrix, collapse columns with irrelevant entries, strike infeasible combinations, then emit one test case per remaining column (each feasible column is one coverage item per ISTQB CTFL v4.0 section 4.2.3). A deep single-technique walkthrough rather than a broad multi-lens case matrix; the output is manual step/expected cases rather than parameterized test code, and it covers how cases are derived rather than how a case record is structured. Use when a spec's outcome depends on interacting conditions (pricing, eligibility, discounts, routing rules) rather than the boundaries of a single input.
exploratory-tours-reference
Pure-reference catalog of the seven exploratory testing tours from Whittaker's Exploratory Software Testing (2009): Feature, Money, Landmark, Intellectual, Bad-data, Configuration, and Garbage-collector's, each a themed mission with the signal it surfaces and a worked example. Use as the menu a charter author picks session themes from. Distinct from the mnemonic catalogs sfdpot-exploratory-heuristic (what to vary) and hiccupps-f-heuristic (oracles), and from session-based-test-management-reference, which manages the sessions.
fcc-cuts-vids-heuristic
Pure-reference catalog of Michael Kelly's FCC CUTS VIDS touring heuristic (2005): eleven tours - Feature, Complexity, Claims, Configuration, User, Testability, Scenario, Variability, Interoperability, Data, Structure - each a reconnaissance sweep that builds familiarity with an unfamiliar application. Use when onboarding onto a product or opening a first session on an unknown area, before a charter is scoped. Distinct from exploratory-tours-reference (Whittaker's seven tours, which frame a bug-hunting mission on a product the tester already knows), sfdpot-exploratory-heuristic (what to vary), hiccupps-f-heuristic (oracles), and crusspic-stmpl-heuristic (quality criteria).
hiccupps-f-heuristic
Pure-reference catalog of Michael Bolton's HICCUPPS-F oracle heuristic - the reference points a tester consults to decide 'is this a bug?': History, Image, Comparable products, Claims, Users' desires, Product (internal consistency), Purpose, Standards/statutes, plus Familiar problems. Use mid-session to test an observation against each oracle. For what to VARY use sfdpot-exploratory-heuristic, for touring an unfamiliar product use fcc-cuts-vids-heuristic, for quality criteria use crusspic-stmpl-heuristic.
manual-test-debrief
Session debrief template + tour-coverage tracker - captures the SBTM PROOF format (Past, Results, Obstacles, Outlook, Feelings) plus three-bucket time accounting (test design / setup / bug investigation), the tours applied + areas covered + areas skipped, and the per-session quality-of-attention signal. Output is the artifact a charter delivers into; the team aggregates debriefs across sessions to track what's been explored vs what's still uncharted. Use after every exploratory session - without the debrief, the session's findings disappear.
manual-testing-overview
Teaches human-driven testing end to end: when a predefined scripted test case is the right instrument versus a time-boxed exploratory session, how session-based test management works (charter with a stated mission, time box, session notes, debrief) with a worked charter and a filled-in session sheet, a decision rule for what to automate versus what to keep human, and what makes a manual bug report actionable (exact reproduction steps, observed versus expected, build and environment, evidence). Use when planning or running testing a person performs by hand, writing a charter for an exploratory session, deciding whether a check belongs in an automated suite or in a human session, or fixing bug reports that developers keep returning as not reproducible.
session-based-test-management-reference
Pure-reference catalog of Session-Based Test Management (SBTM) - the Bachs' framework for running exploratory testing as time-boxed sessions: the session (60-90 min), the charter (Explore X with Y to discover Z), the session-sheet structure, the TBS metrics, the cross-session dashboard, and the PROOF debrief. Use when authoring exploratory-testing charters, reviewing session sheets, or setting up time-boxed test sessions. Distinct from manual-test-debrief (the PROOF debrief template), exploratory-tours-reference (the session themes), and the heuristic catalog hiccupps-f-heuristic.
sfdpot-exploratory-heuristic
Pure-reference catalog of James Bach's SFDPOT heuristic - 'San Francisco Depot' - a 'you are here' framework that catalogues what a tester can vary in a system to find bugs. Six dimensions: Structure, Function, Data, Platform, Operations, Time. Use as a what-to-vary checklist during an exploratory session, complementing HICCUPPS-F (which catalogues what to compare against).
state-transition-test-design
Derives human-readable manual test cases from stateful behavior: identify states, events, transitions, and guard conditions, draw the state table including invalid (empty-cell) transitions, choose a coverage level (all states, valid transitions / 0-switch, transition pairs / 1-switch per Chow, all transitions including invalid ones), then derive one test case per coverage item as an event sequence with per-step expected states (ISTQB CTFL v4.0 section 4.2.4). A deep single-technique walkthrough rather than a broad multi-lens case matrix; the output is manual step/expected cases rather than parameterized test code, and it covers how cases are derived rather than how a case record is structured. Use for lifecycle entities (accounts, orders, subscriptions), workflows, and UI wizards where the response to an event depends on the current state.
test-execution-checklist
Converts a regression suite (or test plan) into an executable manual checklist for cases when automation isn't viable - a release-day smoke checklist, a post-incident verification list, or a periodic compliance check. Outputs a per-TC checkbox list with the minimal preconditions, the action, and a one-line "what to look for" - short enough to fit on one page per major flow. Use when the team needs a focused human-runnable list (not full step-tables), e.g., for production smoke after deploy or for the on-call rotation's quick verification.
uat-script-author
Emits User Acceptance Testing scripts in stakeholder-readable format - pre-conditions / business-language steps / expected business outcome / pass-fail / sign-off. Tailored for non-developer testers (end users, SMEs, solution owners) per the UAT canonical definition. Output is one TC per stakeholder-meaningful scenario with explicit sign-off, suitable for compliance / contract / audit records. Use when a release requires formal UAT before sign-off - typical for B2B contracts, regulated industries, or any delivery where the customer's acceptance is the contractual gate.