Sample Test Cases for Web and Mobile Apps
Every QA team writes test cases, but not every team writes test cases that actually hold up as products evolve.
Web and mobile apps change faster than documentation can keep up, and the real challenge isn’t writing test cases, it’s maintaining them.
Here is a practical collection of sample test cases for both web and mobile apps, along with how AI assisted tools like QA flow are helping teams keep these cases fresh without spending hours rewriting them every sprint.
Web App Test Case Samples
Login
✅Positive checks
• Valid credentials take the user to the dashboard
• SSO login works
• Remember me persists the session
❎Negative checks
• Incorrect password shows a clear error
• Special characters or SQL like input is sanitized
• Brute force attempts trigger rate limiting
Search
✅Positive
• Relevant results appear
• Filters and sorting update instantly
❎Negative
• Empty queries show a no results state
• Extremely long queries do not break the UI
Payments
✅Positive
• Valid card processes successfully
• Saved cards load correctly
❎Negative
• Declined cards show a clear message
• Network interruptions do not trigger duplicate charges
Mobile App Test Case Samples
Navigation
iOS swipe back works as expected
Android back button follows proper app flow
Permissions
Camera or microphone prompts appear exactly when needed
Denied permissions show a fallback UI
Offline Mode
Cached content loads smoothly
Sync resumes correctly once the device reconnects
Where AI Makes This Easier
Maintaining test cases is the real bottleneck. Flows change, designs shift, and edge cases creep in. That is where QA flow has been most useful for teams.
QA flow can:
• Generate test cases directly from user stories or Figma files
• Produce negative and edge cases that are often skipped
• Execute tests and return structured results with screenshots and logs
• Update test suites automatically when the product changes
Human judgment stays at the center. AI handles the repetitive work.
Ready to Use Examples
Web Login
Steps: Navigate to login, enter valid credentials, submit
Expected: User is authenticated and redirected
Mobile Permissions
Steps: Open feature requiring camera access, deny permission
Expected: App displays a fallback state
Search Edge Case
Steps: Enter special characters and search
Expected: UI remains stable and sanitized
Modern QA is not about writing more test cases. It is about writing the right ones and keeping them accurate as your product evolves. AI tools help you stay ahead without drowning in documentation.
Try QA flow if you want to generate complete test suites in minutes instead of days.
https://www.qaflow.com/

