Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Question: Android custom view not visible and not automate-able in Appium inspector/UIAutomator. Is there any official documentation explaining this? #9404
I have Android application (Binary not source code) which has several custom views. I am trying to automate this app using Appium. It looks like some of the controls/views are displayed on UI but not able to locate them in hierarchy in Appium inspector and UIAutomatorViewer. I have read that this has to do something with Android's Accessibility.
What could be the possible solution for this. Does app developer need to make any code change to make custom views visible automate-able ? I was wondering whether there is any official documentation by Appium/Google which can explain the limitations of UIAutomator for custom views.
Google is your friend: https://developer.android.com/guide/topics/ui/accessibility/custom-views.html