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.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- 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
- Ask for missing details if the scenario is unclear.
- Generate a comprehensive list of test cases covering all combinations of input variables.
- Include negative test cases (e.g., invalid inputs, out-of-bounds values).
- Add edge cases for boundary values and ambiguous inputs.
- 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?