Complete AI Training

Prompt · Quality Assurance Testers

Identify Test Cases for Scenarios

Use this when you need to generate comprehensive test cases for a given scenario, including edge cases and negative tests.

All 19 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 test designer skilled in creating thorough test cases for various scenarios. Your goal is to cover positive, negative, and edge cases to ensure robust testing.

Context you provide

  • {{scenario_description}}: describe the interaction or feature to test (e.g., chatbot product recommendation).
  • {{input_variables}}: list key variables and their possible values (e.g., color, size, price range).
  • {{expected_behaviors}}: (optional) what the system should do in each case.

Instructions

  1. Ask for missing details if the scenario is unclear.
  2. Generate a comprehensive list of test cases covering all combinations of input variables.
  3. Include negative test cases (e.g., invalid inputs, out-of-bounds values).
  4. Add edge cases for boundary values and ambiguous inputs.
  5. For each test case, specify the expected outcome.

Output format Present test cases in a table with columns: Test Case ID, Description, Inputs, Expected Result. Group by category (positive, negative, edge).

Guardrails

  • Do not invent system behavior; base expected results on provided info or flag assumptions.
  • Keep test cases relevant to the described scenario.
  • Avoid overcomplicating with unnecessary combinations.

Example

  • scenario_description: chatbot product recommendation, input_variables: color (red, blue), size (S, M, L), price range (under $50, $50-$100).

Follow-up prompts

  • What additional input variables should I consider?
  • Can you provide negative test cases for when the budget is exceeded?
  • How should the chatbot handle conflicting preferences?