~/talk

How I Reduced Appium Tests Execution Time By 50%

Talkat Appium Conference 2021 · 2021-09-17..09-18· [testing, developer-experience]
links:none on file
slides:none on file

Started with 287 Appium tests taking ~240 minutes and achieves ~50% execution reduction by practical changes: replace XPath with accessibility ids (cuts iOS find times ~2x, ~10 minutes saved), replace Thread.sleep with waitUntil/retry loops (avoids fixed waits, saves 30–40 minutes), dynamic retry from DB (only re-run flaky tests, cuts rebuild time by hours), plus test count pruning and use deep links to skip navigation (saves 5–7 minutes); runs on BrowserStack cloud and reaches ~40–50 minutes with 800 cases.

AI-written summary · about

  1. 0:00Intro
  2. 0:36Problem Statement
  3. 2:58Extensive Use Of Xpaths
  4. 4:47Using Thread.sleep Why we made this mistake
  5. 7:47Using Common Explicit Wait Time
  6. 11:154.Using Retry, Depends On & Priority Why we made this mistake
  7. 12:12Customizing Retry Failures To make it dyn
  8. 12:54Change In Retry Method Insider RetryAnal
  9. 13:37Focusing On Test Cases Count
  10. 15:44Doing Everything From Appium Comman
  11. 16:29Not Using In Memory Caching
  12. 17:19Not Using Deep Links
  13. 18:05Optimizing Cloud Device Vendor Capabil
  14. 18:55Using Analytics to drive test execution
  15. 19:36Results Comparison
  16. 20:06References
  17. 20:24Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.