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. 1. "Path or URL of the application binary to install" — in Appium, this describes which of the following?

    • A. Appium Doctor.
    • B. Adb.
    • C. BundleId.
    • D. App capability.correct

    Why: app capability: Path or URL of the application binary to install.

  2. 2. During a code review, a reviewer 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.

  3. 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. 4. "Android Debug Bridge used to communicate with devices/emulators" — in Appium, this describes which of the following?

    • A. NoReset.
    • B. Mobile: scrollGesture.
    • C. Adb.correct
    • D. App capability.

    Why: adb: Android Debug Bridge used to communicate with devices/emulators.

  5. 5. "Returns available contexts such as NATIVE_APP and WEBVIEW" — in Appium, this describes which of the following?

    • A. PlatformName.
    • B. GetContexts().correct
    • C. App capability.
    • D. Adb.

    Why: getContexts(): Returns available contexts such as NATIVE_APP and WEBVIEW.

  6. 6. "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.

  7. 7. "Capability selecting the driver, e.g., UiAutomator2 or XCUITest" — in Appium, this describes which of the following?

    • A. BundleId.
    • B. Adb.
    • C. AutomationName.correct
    • D. App capability.

    Why: automationName: Capability selecting the driver, e.g., UiAutomator2 or XCUITest.

  8. 8. Which statement correctly describes Appium?

    • A. Appium requires access to the application's source code to run tests.
    • B. Appium supports gestures like swipe, scroll, and pinch via W3C Actions or driver mobile: commands.correct
    • C. Appium sessions are configured entirely through environment variables, not capabilities.
    • D. Appium can only automate applications on Android devices.

    Why: Touch gestures use the W3C Actions API or platform mobile commands.

  9. 9. Identify the accurate statement about Appium:

    • A. Appium cannot automate hybrid applications containing webviews.
    • B. Appium requires access to the application's source code to run tests.
    • C. The only locator strategy Appium supports is XPath.
    • D. The accessibility id locator strategy is generally the most stable cross-platform locator in Appium.correct

    Why: Accessibility IDs map to content-desc on Android and accessibilityIdentifier on iOS.

  10. 10. "Capability specifying Android or iOS" — in Appium, this describes which of the following?

    • A. BundleId.
    • B. PlatformName.correct
    • C. AutomationName.
    • D. GetContexts().

    Why: platformName: Capability specifying Android or iOS.

  11. 11. "iOS capability identifying the app to launch" — in Appium, this describes which of the following?

    • A. Mobile: scrollGesture.
    • B. NoReset.
    • C. BundleId.correct
    • D. GetContexts().

    Why: bundleId: iOS capability identifying the app to launch.

  12. 12. Which of the following statements about Appium is TRUE?

    • A. Appium supports gestures like swipe, scroll, and pinch via W3C Actions or driver mobile: commands.correct
    • B. Appium requires access to the application's source code to run tests.
    • C. Appium sessions are configured entirely through environment variables, not capabilities.
    • D. Appium cannot automate hybrid applications containing webviews.

    Why: Touch gestures use the W3C Actions API or platform mobile commands.

  13. 13. "Capability that keeps app data between sessions" — in Appium, this describes which of the following?

    • A. AutomationName.
    • B. NoReset.correct
    • C. BundleId.
    • D. App capability.

    Why: noReset: Capability that keeps app data between sessions.

  14. 14. In Appium, which of the following is described as: "Returns available contexts such as NATIVE_APP and WEBVIEW"?

    • A. Adb.
    • B. GetContexts().correct
    • C. PlatformName.
    • D. NoReset.

    Why: getContexts(): Returns available contexts such as NATIVE_APP and WEBVIEW.

  15. 15. In Appium, which of the following is described as: "Android Debug Bridge used to communicate with devices/emulators"?

    • A. PlatformName.
    • B. Mobile: scrollGesture.
    • C. GetContexts().
    • D. Adb.correct

    Why: adb: Android Debug Bridge used to communicate with devices/emulators.

  16. 16. 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.

  17. 17. In the context of Appium, which of the following is a correct statement?

    • A. Appium 2 bundles every platform driver inside a single installation package.
    • B. The only locator strategy Appium supports is XPath.
    • C. The accessibility id locator strategy is generally the most stable cross-platform locator in Appium.correct
    • D. Appium cannot automate hybrid applications containing webviews.

    Why: Accessibility IDs map to content-desc on Android and accessibilityIdentifier on iOS.

  18. 18. Which Appium concept matches this description: "Android Debug Bridge used to communicate with devices/emulators"?

    • A. PlatformName.
    • B. Adb.correct
    • C. AutomationName.
    • D. Mobile: scrollGesture.

    Why: adb: Android Debug Bridge used to communicate with devices/emulators.

  19. 19. 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.

  20. 20. 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.

Related Automation Testing topics