Mobile testing interview questions
// 26 QUESTIONS · UPDATED MAY 2026
Mobile testing interview questions covering Appium's WebDriver architecture, UIAutomator2 and XCUITest drivers, real devices versus emulators and cloud device farms, locator strategies, gesture automation, app lifecycle testing, network conditioning, platform fragmentation, and integrating mobile tests into CI/CD pipelines.
Showing 26 of 26 questions
- What is the difference between native, hybrid, and mobile web apps from a testing perspective?Junior
Native apps are platform-specific binaries (Swift/Kotlin) with full device API access. Hybrid apps wrap a WebView in a native shell (Ioni…
- How do you configure Appium to start an automated session on an Android device?Junior
Install the Appium server and the UIAutomator2 driver, configure capabilities specifying the app path, platform, device name, and automat…
- How do you locate UI elements in Appium when CSS selectors are unavailable?Junior
Appium supports accessibility id (the most portable — works on both platforms), UIAutomator2's UiSelector (Android only), XCUITest predic…
- What does an emulator miss compared to a real device for mobile testing?Junior
Emulators miss real hardware sensors (camera, gyroscope, NFC), genuine cellular and Wi-Fi stacks, OEM UI customisations, real GPU/CPU thr…
- How do you automate a swipe gesture in Appium 2?Junior
Use the W3C Actions API — define a pointer input sequence with a pointerDown at the start coordinates, a pause to simulate press duration…
- What extra context does a mobile bug report need compared to a web bug report?Junior
Device model, OS version, screen size and density, carrier and connectivity type, app build number (not just version name), app state at…
- How does Appium's client–server–driver architecture work end to end?Mid
Your test code (client) sends W3C WebDriver JSON commands to the Appium HTTP server. The server routes each command to the platform drive…
- How do you handle system permission dialogs and interrupts like calls and notifications in automated tests?Mid
Pre-grant permissions via Appium capabilities before the session starts — this prevents the dialog from appearing at all. For run-time in…
- How do you test your mobile app under different network conditions — 3G, offline, and high latency?Mid
On Android emulators, use the emulator's built-in network throttling or the Appium setNetworkConditions command. On real devices, route t…
- How do UIAutomator2 and XCUITest drivers differ, and how does that affect your test code?Mid
UIAutomator2 drives Android via Google's UIAutomator framework and uses Android-specific capabilities and locators (resource-id, UiSelect…
- How do you test app behaviour across the full lifecycle — install, background, foreground, and upgrade?Mid
Appium provides driver.runAppInBackground() to send the app to the background and driver.activateApp() to bring it forward. For install a…
- How do you integrate a cloud device farm into a mobile CI/CD pipeline?Mid
Configure the Appium client to point at the farm's remote WebDriver URL, pass your API key and device selection capabilities, then trigge…
- What does the test pyramid look like for a mobile application and where do Appium tests fit?Mid
The mobile pyramid has a wide base of fast unit tests (ViewModel logic, business rules), a middle layer of integration tests (API, local…
- How do you test push notifications in a mobile application without relying on production infrastructure?Mid
Test the notification payload handler in isolation using unit tests with a mocked notification object. For device-level delivery, use the…
- How do you test deep links and universal links on iOS and Android?Mid
Trigger deep links programmatically — via ADB intent on Android or xcrun simctl openurl on iOS Simulator — and assert the app opens the c…
- How do you measure and validate performance and battery consumption in a mobile app?Mid
Use Android Profiler (or adb shell dumpsys) for memory, CPU, and battery stats; Instruments on iOS. Establish a baseline on a known build…
- How do you design a device matrix and test strategy to handle Android fragmentation?Mid
Base the matrix on your actual user analytics, not on comprehensive coverage. Prioritise the top device/OS combinations by user share — t…
- How do you design a cross-platform mobile test suite that shares logic between iOS and Android?Senior
Abstract platform divergence — locators and driver-specific commands — inside screen object classes. Test cases call screen objects with…
- How do you diagnose and eliminate flakiness in an Appium test suite?Senior
The vast majority of Appium flakiness is timing-related: elements not yet rendered when the locator is evaluated. Replace every hardcoded…
- How do you integrate Appium tests into a CI/CD pipeline with parallel execution across real devices?Senior
Use a cloud device farm's parallel execution capability, design tests as fully stateless and independently runnable, distribute them acro…
- How do you test in-app purchases and subscriptions without triggering real payment flows?Senior
Use Apple's Sandbox environment for iOS (sandbox accounts in TestFlight or Xcode) and Google Play's licence testing for Android (static t…
- How do you design and implement a screen object model for a mobile Appium framework?Senior
Mirror the Page Object Model — each app screen is a class encapsulating its locators and user-facing actions. Action methods return scree…
- How do you decide which tests run on emulators versus real devices in a build pipeline?Senior
Emulators for fast PR-gate feedback on core functional flows — they start in seconds and parallelise freely. Real devices for hardware-de…
- How do you test app updates and data migration between versions?Senior
Install the previous production version, seed known app state, install the update over the top (preserving app data), then assert the mig…
- What is the role of visual regression testing in a mobile test strategy?Senior
Visual regression catches layout breaks, rendering differences, and unintended style changes across device screen sizes and densities — t…
- How do you build and govern a mobile testing strategy across multiple product squads?Lead
Define a mobile test policy — device matrix, mandatory test levels, CI gates — embedded in the Definition of Done. Provide centralised Ap…
// Continue exploring
Accessibility
WCAG, ARIA, screen readers, contrast, keyboard navigation, axe-core, CI integration.
Security
OWASP Top 10 for QA, injection, XSS, access control, session security, SAST/DAST, CI.
GraphQL
Schema, queries, mutations, the errors array, nested authorisation, N+1, and how GraphQL testing differs from REST.