Appium interview questions — Medium
252 medium-level Appium questions from our Automation Testing bank, each with the correct answer and an explanation of why it is correct.
What this covers
Appium appears throughout Automation Testing interviews. At medium level, interviewers are typically checking that you have used it in practice: what you configured, what broke, and how you knew it worked. Work through these, then explain your answer out loud; the second part is what interviews actually test.
20 example questions
1. During a sprint demo, a teammate asks: Appium Inspector is used to:
- A. Generate load.
- B. Inspect the mobile UI hierarchy and locate elements.correct
- C. Mock APIs.
- D. Compile the app.
Why: Appium Inspector inspects the app's element tree to build locators.
2. "Path or URL of the application binary to install" — in Appium, this describes which of the following?
- A. App capability.correct
- B. NoReset.
- C. Appium Doctor.
- D. BundleId.
Why: app capability: Path or URL of the application binary to install.
3. "Utility that verifies environment setup dependencies" — in Appium, this describes which of the following?
- A. Appium Doctor.correct
- B. PlatformName.
- C. AutomationName.
- D. NoReset.
Why: Appium Doctor: Utility that verifies environment setup dependencies.
4. "Android Debug Bridge used to communicate with devices/emulators" — in Appium, this describes which of the following?
- A. BundleId.
- B. GetContexts().
- C. Adb.correct
- D. NoReset.
Why: adb: Android Debug Bridge used to communicate with devices/emulators.
5. "Android driver command that performs a scroll" — in Appium, this describes which of the following?
- A. NoReset.
- B. Mobile: scrollGesture.correct
- C. App capability.
- D. PlatformName.
Why: mobile: scrollGesture: Android driver command that performs a scroll.
6. "Capability selecting the driver, e.g., UiAutomator2 or XCUITest" — in Appium, this describes which of the following?
- A. BundleId.
- B. GetContexts().
- C. Adb.
- D. AutomationName.correct
Why: automationName: Capability selecting the driver, e.g., UiAutomator2 or XCUITest.
7. "Returns available contexts such as NATIVE_APP and WEBVIEW" — in Appium, this describes which of the following?
- A. GetContexts().correct
- B. Appium Doctor.
- C. Adb.
- D. AutomationName.
Why: getContexts(): Returns available contexts such as NATIVE_APP and WEBVIEW.
8. "Capability specifying Android or iOS" — in Appium, this describes which of the following?
- A. Appium Doctor.
- B. Mobile: scrollGesture.
- C. PlatformName.correct
- D. GetContexts().
Why: platformName: Capability specifying Android or iOS.
9. Which statement correctly describes Appium?
- A. XCUITest is used for automating Android applications.
- B. Appium requires access to the application's source code to run tests.
- C. The accessibility id locator strategy is generally the most stable cross-platform locator in Appium.correct
- D. The only locator strategy Appium supports is XPath.
Why: Accessibility IDs map to content-desc on Android and accessibilityIdentifier on iOS.
10. Which of the following statements about Appium is TRUE?
- A. The accessibility id locator strategy is generally the most stable cross-platform locator in Appium.correct
- B. Appium cannot automate hybrid applications containing webviews.
- C. Appium can only automate applications on Android devices.
- D. Appium requires access to the application's source code to run tests.
Why: Accessibility IDs map to content-desc on Android and accessibilityIdentifier on iOS.
11. Identify the accurate statement about Appium:
- A. XCUITest is used for automating Android applications.
- B. Appium cannot automate hybrid applications containing webviews.
- C. Appium supports gestures like swipe, scroll, and pinch via W3C Actions or driver mobile: commands.correct
- D. Appium can only automate applications on Android devices.
Why: Touch gestures use the W3C Actions API or platform mobile commands.
12. "iOS capability identifying the app to launch" — in Appium, this describes which of the following?
- A. GetContexts().
- B. BundleId.correct
- C. App capability.
- D. PlatformName.
Why: bundleId: iOS capability identifying the app to launch.
13. Which Appium concept matches this description: "Utility that verifies environment setup dependencies"?
- A. Appium Doctor.correct
- B. Mobile: scrollGesture.
- C. PlatformName.
- D. AutomationName.
Why: Appium Doctor: Utility that verifies environment setup dependencies.
14. In Appium, which of the following is described as: "Android Debug Bridge used to communicate with devices/emulators"?
- A. App capability.
- B. BundleId.
- C. Adb.correct
- D. Appium Doctor.
Why: adb: Android Debug Bridge used to communicate with devices/emulators.
15. In Appium, which of the following is described as: "Path or URL of the application binary to install"?
- A. PlatformName.
- B. App capability.correct
- C. NoReset.
- D. BundleId.
Why: app capability: Path or URL of the application binary to install.
16. Which Appium concept matches this description: "Android driver command that performs a scroll"?
- A. BundleId.
- B. Mobile: scrollGesture.correct
- C. PlatformName.
- D. Appium Doctor.
Why: mobile: scrollGesture: Android driver command that performs a scroll.
17. Which Appium concept matches this description: "Capability selecting the driver, e.g., UiAutomator2 or XCUITest"?
- A. GetContexts().
- B. Appium Doctor.
- C. AutomationName.correct
- D. BundleId.
Why: automationName: Capability selecting the driver, e.g., UiAutomator2 or XCUITest.
18. In Appium, which of the following is described as: "Capability selecting the driver, e.g., UiAutomator2 or XCUITest"?
- A. AutomationName.correct
- B. PlatformName.
- C. GetContexts().
- D. Mobile: scrollGesture.
Why: automationName: Capability selecting the driver, e.g., UiAutomator2 or XCUITest.
19. Which Appium concept matches this description: "Path or URL of the application binary to install"?
- A. PlatformName.
- B. Appium Doctor.
- C. NoReset.
- D. App capability.correct
Why: app capability: Path or URL of the application binary to install.
20. In Appium, which of the following is described as: "Android driver command that performs a scroll"?
- A. Mobile: scrollGesture.correct
- B. AutomationName.
- C. Appium Doctor.
- D. PlatformName.
Why: mobile: scrollGesture: Android driver command that performs a scroll.