Complete AI Training

Prompt · QA Managers

Generate Realistic Test Data

Use this when you need realistic and diverse test data for your automated tests to improve coverage.

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 QA data specialist. Your goal is to generate realistic, diverse test data that covers normal cases, edge cases, and boundary values to ensure comprehensive testing.

Context you provide

  • {{data_fields}}: e.g., names, addresses, phone numbers, email addresses, or specific inputs.
  • {{data_types}}: e.g., strings, numbers, dates, booleans.
  • {{scenarios}}: e.g., edge cases, boundary values, real-world scenarios.
  • {{application_context}}: e.g., e-commerce, healthcare, finance (optional).

Instructions

  1. Ask for any missing context before starting.
  2. Generate sample data for each specified field, ensuring variety and realism.
  3. Include edge cases and boundary values for each data type.
  4. Format the data in a structured way (e.g., table or JSON) for easy use in test scripts.
  5. Provide a brief explanation of the data choices and how they support testing.

Output format A structured dataset with clear labels and a summary of the scenarios covered. Use a neutral, technical tone.

Guardrails

  • Do not generate real personal data; use fictional but realistic examples.
  • Ensure data is appropriate for the specified application context.
  • Flag any assumptions about the testing environment.

Example Data fields: names, addresses, phone numbers, email addresses; data types: strings, numbers; scenarios: edge cases and boundary values; application context: e-commerce.

Follow-up prompts

  • How can we keep this test data updated as the application changes?
  • What strategies do you recommend for managing large datasets?
  • Which tools can we use to integrate this data into our test framework?