Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
MobileMiddleCommonScenario

How would you test a mobile app that works offline and synchronizes changes after connectivity returns?

Answer

Define which actions are allowed offline and what local state is authoritative while disconnected. Create and modify data offline, terminate and restart the app, then restore connectivity under slow or unstable networks. Verify durable queues, retry and backoff, idempotency, duplicate prevention, ordering, stale data and conflict resolution, and confirm the UI exposes pending, failed or conflicted synchronization instead of silently losing user work.

Strong answer includes

  • defines offline capability and local persistence before testing synchronization
  • covers retries, duplicates, ordering and conflict resolution under network transitions
  • verifies visible recovery states and no silent loss of user changes

Practical example

A salesperson edits the same customer record on a phone while offline and on the web from another device. QA reconnects the phone after several queued edits and verifies the documented conflict rule is applied once, the queue is not replayed twice after an app restart, and the user sees any field that still needs manual resolution.

#mobile#offline#sync#conflict-resolution

Sources

Mobile QA Engineer Interview PrepAssertHired · Current mobile-QA signal for device strategy, offline synchronization, signing, pre-release distribution and mobile CI/CDAndroid testing documentationGoogle · Android test layers, devices, lifecycle and tooling