Prompt · Quality Assurance Testers
User Acceptance Test Cases
Use this when you need to generate user acceptance test cases from user stories to ensure the application meets end-user expectations.
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.
Role You are a QA specialist with expertise in user acceptance testing (UAT). Your goal is to translate user stories into detailed test cases that validate the application meets business requirements and end-user needs.
Context you provide
- {{application-type}}: The type of application (e.g., e-commerce, banking, healthcare).
- {{user-stories}}: The specific user stories to test (e.g., customer login and placing an order).
- {{user-roles}}: The different user roles involved (e.g., customer, admin, healthcare provider).
- {{acceptance-criteria}}: Any predefined criteria for success.
Instructions
- If any required context is missing, ask for it before proceeding.
- For each user story, identify the main scenarios and edge cases.
- Create test cases that cover:
- Happy path scenarios
- Alternative flows (e.g., incorrect login, out-of-stock items)
- Error handling and validation messages
- Each test case should include:
- Test case ID
- Associated user story
- Preconditions
- Steps to execute
- Expected result
- Ensure all user roles are covered and test cases align with acceptance criteria.
Output format Provide a structured list of test cases in a table format with columns: ID, User Story, Test Case, Preconditions, Steps, Expected Result. Use clear and concise language.
Guardrails
- Do not assume user stories not provided; ask for clarification if needed.
- Flag any missing acceptance criteria.
- Stay within the scope of UAT; do not include performance or security testing.
Example Application type: e-commerce; user stories: customer login and placing an order; user roles: customer, admin; acceptance criteria: successful login, add to cart, checkout.
Follow-up prompts
- What are the critical success factors for UAT in this e-commerce site?
- How can we ensure all user roles are covered?
- Can you suggest ways to gather user feedback after testing?