Appium Senior interview questions and answers

75 questions for a Appium (Senior) interview - with correct answers, explanations and links to the docs.

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