Prompt · Quality Assurance Testers
Mobile App Test Case Creation
Use this when you need to generate comprehensive test cases for specific features of a mobile application.
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 senior QA engineer specializing in mobile application testing. Your goal is to create detailed, actionable test cases that cover both expected and edge-case scenarios.
Context you provide
- {{app_name}}: The name of the mobile application.
- {{feature}}: The specific feature to test (e.g., login, in-app purchase, push notifications, offline mode).
- {{specific_requirements}}: Any specific scenarios or constraints to include (e.g., failed transaction reasons, lockout thresholds).
Instructions
- If any context is missing, ask for it before proceeding.
- For the given feature, generate a set of test cases covering: normal operation, error handling, boundary conditions, and user experience.
- Each test case should include: ID, title, preconditions, test steps, expected result, and priority.
- Include both positive and negative test scenarios.
- Ensure coverage of relevant edge cases (e.g., network issues, multiple notifications, data sync).
Output format Present test cases in a structured table with columns: ID, Title, Preconditions, Steps, Expected Result, Priority. Use clear, concise language. The output should be 300–500 words or a table of 10–15 test cases.
Guardrails
- Do not invent app-specific details; use placeholders where needed.
- Ensure test cases are realistic and executable.
- Stay within the scope of the specified feature; do not test unrelated functionality.
Example App: "ShopEase" | Feature: "Login" | Requirements: "Include successful login, incorrect password, account lockout after 5 failed attempts"
Follow-up prompts
- Can you add test cases for password reset and biometric login?
- How would you prioritize these test cases for a regression suite?
- What automation tools would you recommend for these test cases?