Appium Senior interview questions and answers
75 questions for a Appium (Senior) interview - with correct answers, explanations and links to the docs.
- 1.How should a team split mobile test coverage across layers?
- 2.When is Espresso or XCUITest directly a better choice than Appium?
- 3.Why do Appium tests tend to be slower than native framework tests?
- 4.How would you design a mobile framework for Android and iOS?
- 5.What should a driver factory in a mobile framework handle?
- 6.How do you avoid device collisions in parallel runs?
- 7.What's the role of Selenium Grid or similar for Appium?
- 8.What are the trade-offs of a mobile device cloud?
- 9.When is an in-house device lab worth it?
- 10.Why is device health a frequent source of flaky failures in labs?
- 11.How do you keep tests independent when the app has persistent local data?
- 12.What's the risk of self-healing locators in mobile suites?
- 13.How do you make an app testable at scale?
- 14.Why consider image-based locators only as a last resort?
- 15.How do you test a feature behind a remote config flag?
- 16.How should a framework deal with OS permission dialogs at scale?
- 17.What's a sound strategy for flaky mobile tests?
- 18.Which root causes of mobile flakiness are most common?
- 19.How can you cut CI time for a large mobile suite?
- 20.How do you balance shards across devices?
- 21.What should every failed mobile test report include?
- 22.Why record the app build and device model in every result?
- 23.How do you test app upgrades from the previous version?
- 24.How do you check that an Android app handles process death?
- 25.Why are WebView-heavy apps harder to test?
- 26.How do you handle Chromedriver versions for many Android WebViews?
- 27.How should mobile tests treat third-party SDKs like ads or chat?
- 28.How do you test the app under slow or lossy networks?
- 29.How can you verify what the app sends to its backend?
- 30.What does certificate pinning mean for test setups?
- 31.How do you keep secrets safe in mobile CI?
- 32.Why is code signing a CI bottleneck for iOS?
- 33.When does Maestro or Detox fit better than Appium?
- 34.What does 'gray-box' testing mean for mobile frameworks?
- 35.How do you test accessibility in mobile apps?
- 36.What makes mobile localization testing efficient?
- 37.How do you test right-to-left layouts?
- 38.What's a canary run for mobile test infrastructure?
- 39.Why pin Appium driver versions in CI?
- 40.How do you test deep links from outside the app?
- 41.What's the hardest part of testing universal links on iOS?
- 42.How do you avoid long login flows in every device test?
- 43.What is a 'test hook' in a mobile app and when is it acceptable?
- 44.Why may tests pass on emulators but fail on devices?
- 45.What metrics help manage a mobile test suite?
- 46.How should a framework classify failures?
- 47.What's the downside of very long end-to-end mobile tests?
- 48.How do you test the app's behavior when storage is full?
- 49.Why test on the oldest supported OS version?
- 50.How do you decide what goes into a mobile smoke suite?
- 51.Why prefer native gestures (
mobile:commands) in some cases? - 52.How do you test a Jetpack Compose screen with Appium?
- 53.How do you test a SwiftUI screen reliably?
- 54.What's the issue with tapping elements still animating into place?
- 55.How do you test that an app survives a dark mode switch?
- 56.What's a good way to manage test data for mobile tests in shared environments?
- 57.Why should tests not rely on production push or email services?
- 58.How do you investigate a crash during a test run?
- 59.How do you measure app startup time in tests?
- 60.Why are Appium tests a poor fit for performance measurement?
- 61.How should screen objects return results?
- 62.Why should exceptions from screen objects include the screen and locator?
- 63.What's a common pitfall when sharing one Appium server for many sessions?
- 64.How do you keep a mobile framework maintainable over years?
- 65.How do you test an app's widgets on the home screen?
- 66.How can tests cover multi-app flows like 'share to another app'?
- 67.How do you test the in-app purchase flow?
- 68.How do you verify that sensitive screens hide content in the app switcher?
- 69.Why tag tests by platform and feature area?
- 70.What should happen when a device test finds a real bug?
- 71.Why prefer composition of helpers over a deep BaseTest in mobile frameworks?
- 72.Why keep one driver per thread in parallel mobile runs?
- 73.How do you test the app's behavior across time zones?
- 74.Why should the release build also get a smoke run?
- 75.What's the value of a nightly full device matrix run?