How I Reduced Appium Tests Execution Time By 50%
summary
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
chapters (17)
- 0:00Intro
- 0:36Problem Statement
- 2:58Extensive Use Of Xpaths
- 4:47Using Thread.sleep Why we made this mistake
- 7:47Using Common Explicit Wait Time
- 11:154.Using Retry, Depends On & Priority Why we made this mistake
- 12:12Customizing Retry Failures To make it dyn
- 12:54Change In Retry Method Insider RetryAnal
- 13:37Focusing On Test Cases Count
- 15:44Doing Everything From Appium Comman
- 16:29Not Using In Memory Caching
- 17:19Not Using Deep Links
- 18:05Optimizing Cloud Device Vendor Capabil
- 18:55Using Analytics to drive test execution
- 19:36Results Comparison
- 20:06References
- 20:24Questions
related talks
52mBuilding an Advanced Automation Solution Based on Appium
37miOS Test Automation to Infinity and Beyond
29mHow to Shorten UI Test Run Times
26mThe Power of Atomic Automated Tests: Our experience of Improved Test Efficiency...
35mElevate your testing: testing smarter, not harder, in the cloud!
24mAutomated Mobile E2E Testing
43mUnlocking New Testing Capabilities with Espresso Driver
31mFurther Speeding Up UI Tests (Espresso)
