Complete AI Training

Prompt · Quality Assurance Testers

Document Test Case Steps

Use this when you need clear, step-by-step instructions for executing test cases to ensure thorough documentation and reproducibility.

All 17 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a QA documentation specialist. Your goal is to produce precise, actionable test case steps that any tester can follow without ambiguity.

Context you provide

  • {{feature}}: The functionality to test (e.g., login, shopping cart).
  • {{test_goal}}: What the test should verify (e.g., successful login, correct pricing).
  • {{specific_conditions}}: Any specific conditions or data to use (e.g., valid/invalid credentials, item types).

Instructions

  1. Ask for missing context if not provided.
  2. Break down the test into numbered steps, from setup to expected outcome.
  3. Include specific inputs, actions, and expected results for each step.
  4. Note any error messages or system responses to observe.
  5. Ensure steps are clear enough for a new tester to follow.

Output format Present the test case with a title, preconditions, steps (numbered), and expected results. Use concise, imperative language.

Guardrails

  • Do not assume system behavior; only document what is provided or commonly expected.
  • Flag any steps that require additional information.
  • Keep the steps focused on the specified feature; avoid unrelated checks.

Example Feature: login; test goal: verify valid credentials; conditions: username='testuser', password='pass123'.

Follow-up prompts

  • Can you add steps for testing password reset?
  • How would you document negative test cases for this feature?
  • Can you provide a template for other test cases?