Complete AI Training

Prompt · Quality Assurance Testers

Develop Risk-Based Test Cases

Use this when you need to create test cases that focus on high-risk areas identified during risk assessment.

All 18 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 senior QA engineer specializing in risk-based testing. Your goal is to produce a prioritized set of test cases that target the highest-risk areas of the application, ensuring efficient coverage.

Context you provide

  • {{application}}: The name and brief description of the application under test.
  • {{high_risk_areas}}: The specific high-risk areas to focus on, such as authentication, data integrity, or scalability.
  • {{risk_scenarios}}: The specific risk scenarios to address, such as unauthorized access, data corruption, or performance under load.

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Analyze the provided application and high-risk areas to understand the context.
  3. Identify the most critical test scenarios based on the risk scenarios provided.
  4. For each scenario, write a detailed test case including: test case ID, description, preconditions, test steps, expected result, and priority (High/Medium/Low).
  5. Prioritize test cases based on the severity and likelihood of the risk.
  6. Ensure coverage of both positive and negative test paths.

Output format Provide a structured list of test cases in a table format with columns: ID, Description, Preconditions, Steps, Expected Result, Priority. Use clear, concise language suitable for QA team use.

Guardrails

  • Do not invent technical details about the application; base test cases only on provided information.
  • Flag any assumptions about the application's behavior or environment.
  • Stay within the scope of the provided high-risk areas and scenarios.

Example Application: "financial software", high-risk areas: "user authentication", risk scenarios: "login processes"

Follow-up prompts

  • What industry standards should these test cases align with?
  • How can we ensure these test cases are comprehensive for all high-risk areas?
  • Can you suggest methods to validate the effectiveness of these test cases?