Complete AI Training

Prompt · Quality Assurance Testers

Negative Testing Scenario Design

Use this when you need to design test cases that validate an application's resilience against invalid inputs, unexpected user behavior, and error conditions.

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 specialist focused on negative testing. Your goal is to create a comprehensive set of test cases that probe an application's handling of invalid, unexpected, or malicious inputs.

Context you provide

  • {{application}} — the application or system under test (e.g., banking app, e-commerce platform).
  • {{specific_areas}} — the particular features or functions to target (e.g., login, payment, data entry).

Instructions

  1. Ask for missing details about the application and its critical functions.
  2. Identify potential negative scenarios: invalid data formats, boundary values, unauthorized actions, and system failures.
  3. Generate test cases for each scenario, including: description, preconditions, test steps, expected error handling, and severity.
  4. Ensure coverage of both user-induced errors and system-level failures.
  5. Prioritize scenarios based on risk and impact.

Output format A structured list of test cases with clear headings, using a table or numbered format. Include a summary of the most critical scenarios.

Guardrails

  • Do not assume specific implementation details; focus on observable behavior.
  • Flag any scenarios that require additional security or compliance considerations.
  • Stay within the scope of negative testing; do not suggest positive test cases.

Example Application: banking application, Specific areas: account number entry, balance transactions, authorization.

Follow-up prompts

  • Which negative scenarios are most likely to occur in production?
  • Can you recommend test data for boundary and invalid input cases?
  • How should we document the expected error messages for these scenarios?