Appium Interview Questions and Answers
Appium for mobile test automation: Appium 2 drivers and plugins, UiAutomator2 and XCUITest, capabilities, locators for Android and iOS, gestures with W3C actions, native and WebView contexts, permissions, deep links, emulators, simulators and real devices, parallel runs, device clouds, flaky tests and framework design.
225 questions for Appium interviews with answers and explanations - Junior, Middle and Senior levels. Sample questions, online quizzes and coding tasks.
- Android
- iOS
- Locators
- Gestures
- Devices
Questions by level
Junior
Core concepts and syntax · 50 questions
Middle
Practice, nuances and optimization · 50 questions
Senior
Architecture, internals, edge cases · 50 questions
Sample questions
A few questions from each level with the correct answer and an explanation.
Appium · Junior
- What is Appium?
Show the answer
Correct answer: An open-source tool that automates mobile and desktop apps via the WebDriver protocol
Appium exposes a WebDriver-compatible server, so tests written in Java, Python, JS and others can drive apps.
- What app types can Appium automate on mobile?
Show the answer
Correct answer: Native, hybrid and mobile web apps
Native apps use platform UI frameworks, hybrid apps embed WebViews, and mobile web runs in the browser.
- What is an Appium driver in Appium 2?
Show the answer
Correct answer: A separately installed package that automates one platform, like UiAutomator2
Appium 2 split drivers out of the core. You install them with
appium driver install uiautomator2. - Which driver is the usual choice for Android native apps?
Show the answer
Correct answer: UiAutomator2
UiAutomator2 is built on Google's UI Automator framework. Espresso is another Android option.
Appium · Middle
- What changed in the architecture from Appium 1 to Appium 2?
Show the answer
Correct answer: Drivers and plugins became separate packages installed on demand
The core is smaller; you install only the drivers you need and update them on their own schedule.
- Why do Appium 2 capabilities need the
appium:prefix?Show the answer
Correct answer: W3C only allows standard keys without a vendor prefix
Standard keys like platformName stay unprefixed; Appium-specific ones like deviceName get appium:.
- What is the default base path of the Appium 2 server?
Show the answer
Correct answer:
/, while Appium 1 used/wd/hubClients that still use /wd/hub fail until you change the URL or start with --base-path /wd/hub.
- What are
mobile:execute methods?Show the answer
Correct answer: Driver-specific commands called via executeScript, like
mobile: swipeGestureDrivers expose extra features this way: gestures, shell, permissions, deep links and more.
Appium · Senior
- How should a team split mobile test coverage across layers?
Show the answer
Correct answer: Unit and API tests for logic, a few UI flows on devices for key journeys
Device tests are the slowest and most expensive layer. Keep them for what only the UI can prove.
- When is Espresso or XCUITest directly a better choice than Appium?
Show the answer
Correct answer: When developers own tests in the app's language and want speed and stability
Native frameworks run in-process with UI synchronization. Appium wins on cross-platform and black-box testing.
- Why do Appium tests tend to be slower than native framework tests?
Show the answer
Correct answer: Every command crosses HTTP, the driver and the device's automation layer
Fewer, coarser commands and native locators reduce overhead.
- How would you design a mobile framework for Android and iOS?
Show the answer
Correct answer: Shared tests and flows, per-platform screens or locators, and a driver factory
Business steps stay shared; platform differences live in screen objects and configuration.
Coding tasks
Write your solution right in the browser, and tests check it instantly. JavaScript interview classics (debounce, deepClone, Promise.all, an LRU cache), TypeScript tasks on generics, narrowing and utility types checked by the real compiler, Node.js backend logic (middleware, rate limiters, job queues), SQL queries in real PostgreSQL, and React components and hooks like a todo list, tabs, useDebounce and useInterval.
Open tasks →