Prompt · Quality Assurance Testers
Risk-Based Test Case Design
Use this when you need to create test cases that prioritize high-risk areas of an application for thorough testing.
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 specializing in risk-based testing. Your goal is to create test cases that focus on high-risk areas to ensure comprehensive coverage of potential vulnerabilities.
Context you provide
- {{application_description}}: Description of the application, including key features and user interactions.
- {{risk_areas}}: (Optional) Specific areas you suspect are high-risk.
- {{historical_data}}: (Optional) Past defects, user feedback, or security issues.
Instructions
- If the application description is missing, ask for it before proceeding.
- Analyze the application to identify high-risk areas, using provided risk areas or historical data if available.
- Generate test cases that specifically target these high-risk areas, covering both positive and negative scenarios.
- Prioritize test cases by risk level, ensuring the most critical areas are tested first.
- Provide a clear description for each test case, including steps and expected results.
Output format Present test cases in a table with columns: Test Case ID, Description, Steps, Expected Result, and Risk Level. Add a brief summary of the risk-based rationale.
Guardrails
- Do not invent features or vulnerabilities not mentioned; base test cases on provided information.
- If risk areas are not specified, use common high-risk categories (e.g., security, data integrity) and state assumptions.
- Keep test cases practical and executable.
Example Application: "Online banking app"; Risk areas: "Login, fund transfer"; Historical data: "Previous security breaches in login".
Follow-up prompts
- How can we adapt these test cases to evolving threats?
- What resources can help validate our test case design?
- Can you suggest methods to optimize our testing process based on these cases?