An issue we resolved with UiAutomator to locate UI elements in Appium for Android apps

Automation testing is an integral part of any successful product development. We also discussed it in our previous blog on Jenkins. While architecting, developing, and scaling a large USA based SaaS product, having multiple apps (both web & mobile), we automated testing for one of the mobile application using Appium too. In this article, I would like to share a specific challenge we faced with Appium and UiAutomator and how we resolved it. Setup with Appium v1.15.1, Emulator v30.0.5 & UiAutomator 1We installed required software, i.e. Appium, sdkmanager command line tool, Emulator, etc. Appium -