ISTQB CT-MAT study materials
ISTQB CT-MAT study resources

ISTQB CT-MAT: Mobile Application Test Automation

ISTQB CT-MAT · Work through your exam, one topic at a time.

All guide sections

Mobile Application Test Automation

This domain examines how to automate mobile tests economically: which tool categories exist, the mobile-specific obstacles that make scripts flaky, and the process decisions around ROI and maintenance.

Tool categories

  • Vendor frameworks: Espresso for Android instrumentation, XCUITest for iOS - fast, close to the platform, single-platform only.
  • Cross-platform: Appium drives native, hybrid and mobile web apps via the WebDriver protocol and delegates to vendor frameworks underneath.
  • Cloud device farms for parallel execution on real hardware.
  • Monkey/fuzz tools (e.g. Android UI/Application Exerciser Monkey) generate random event streams to find crashes.

Why mobile scripts break

Coordinate and XPath locators break when layouts change - prefer accessibility IDs and resource IDs. Gestures (swipe, scroll, pinch, long press, multi-touch) need explicit action APIs. Soft keyboard, permission dialogs, toasts and animations cause timing flakiness: use explicit waits, pre-grant permissions, disable animations. Hybrid apps need context switching into the WebView.

Process and ROI

Pilot on stable, high-value regression flows; keep page-object abstraction so locator changes stay local; run in CI on a representative device subset; budget maintenance for OS and tool upgrades; track the flakiness rate.

Worked example

A team automated 200 checkout scripts using XPath. After an OS upgrade, 60% failed. Reasoning: the UI hierarchy changed but behaviour did not, so the fault was in locators, not the app. Migrating to accessibility IDs and page objects, plus a pilot re-run before each OS release, restores stability.

Traps that cost marks

Record/playback kept as the regression suite; automation run only on emulators; ignoring OS-level dialogs and permissions outside the app; expecting UI automation to measure battery or performance.