Mobile app test cases for iOS and Android, with a copyable template
Write a mobile app test case around one result a tester can observe. Record how the phone and account should start, what to tap or enter, and what should happen. When you run the case, keep the actual result beside the device model, OS version and app build. That gives the next tester enough detail to repeat the check and an engineer enough context to investigate a failure.
How do you turn a requirement into a test case?
Take a requirement for a fictional workout app. A signed-in user can save a draft routine and reopen it later. A case for that requirement could start with an empty Drafts list, save a routine with 12 squats, then reopen the draft and check that the repetition count is still 12. “Test workout drafts” leaves those choices to whoever picks up the ticket.
Write the expected result before running the case. If the team has yet to decide whether a draft should survive an app restart, agree on that behaviour before using it as a pass condition. The ISTQB Foundation syllabus describes deriving cases from acceptance criteria and comparing observed results with expected results during execution. ISTQB Foundation Level syllabus, sections 1.4.1 and 4.5.3
What does a mobile app test case template look like?
Copy the first block once per case. Add a run record each time you execute it. If a later build fixes a failure, the two records will show which build failed and which passed.
Case ID and title
Requirement or ticket
Starting state and test data
Required platform, device or OS settings
Steps
1.
2.
Expected result
Reset or clean-up steps, if needed
Case ID
Tester and run date
App version and build number
Device model and OS version
Environment and distribution channel
Actual result
Status (Pass / Fail / Blocked / Not run)
Evidence and issue link, if applicable
Put a condition in the case when someone needs it to reproduce the test. A photo-permission check might require that the app has never asked for access. For an ordinary save check, the tester can select a phone from the mobile device test matrix and record the exact model and OS in the run. Include physical devices where hardware or OS behaviour matters. For release verification, test the release build through the intended distribution route. Apple’s release-build testing guide and Android’s core app quality guidelines.
What are some examples of mobile app test cases?
These examples use the same fictional workout app. Start each case with a signed-in staging account and an empty Drafts list. Use a new routine for each run, then remove any draft left by the test before repeating it.
| Case | Starting condition | Steps | Expected result |
|---|---|---|---|
| RTN-01 · Reopen a saved draft | Online. | Create a routine called Leg day with 12 squats. Tap Save draft, go to Drafts and open the routine. | Drafts contains one Leg day entry. The reopened routine shows 12 squats. |
| RTN-02 · Resume an unfinished routine | Online, with a new routine open. | Add squats and enter 12 reps. Go to the phone’s home screen, then return through the app switcher. Change the count to 10. | The form still shows 12 reps when you return and accepts the change to 10. |
| RTN-03 · Recover from an offline save | The app requires a connection to save drafts. | Create Leg day with 12 squats. Turn off Wi-Fi and mobile data, return to the app and tap Save draft. Restore the connection and tap Save draft again. | The offline attempt shows that saving failed and keeps the title and exercise details. After the retry, Drafts shows one copy of Leg day. |
If your app queues offline writes, change RTN-03 to match that design. For example, check that the draft shows a pending state while offline, then check that reconnecting syncs one copy without another tap. A good expected result tells the tester when and where to look.
How do you record a failure someone else can reproduce?
Suppose RTN-03 fails on a Pixel 8 running Android 16, on app version 2.8.0 (build 412) in staging. Record Fail and describe the first step that went differently from the case.
After setting squats to 12 reps, I turned off Wi-Fi and mobile data. On the first tap of Save draft, the app showed “Couldn’t save” and cleared the rep count. The title stayed on screen. I saw it twice after starting with an empty Drafts list.
Attach a sanitised recording if it shows the field being cleared. Include the case ID, device, OS, exact build and issue link in the run record. If you repeat the case on another phone, give that run its own result so the engineer can see where the failure occurred.
When a case fails, use the bug report template generator to turn the failed step, expected result and device details into a ticket. Use the mobile test summary report when you need to share the results of the whole round.
Frequently asked questions
What should a mobile app test case include?
Give the case an ID and a title, then write down the starting state, test data, steps and expected result. Specify any required device or OS settings and how to reset the test data. For each run, record the actual result, status, device, OS and app build.
Can iOS and Android share the same test case?
Yes. Share the case when both apps should produce the same result. Note any differences in setup or steps and record a result for each platform. Give a platform its own case when the expected behaviour differs, such as when it has a different permission flow.
When should I mark a test case as blocked?
Mark it blocked when a missing prerequisite prevents you from reaching the behaviour under test. For example, a missing test account blocks a check of the signed-in profile screen. If signing in is the behaviour under test and valid credentials are rejected, record a failure.