Hi there,
I am currently having issues accessing the elements created by AutoCompleteTextView’s showDropDown() functionality. On all versions of Android that I have tested (API versions 8, 11 and 18), showDropDown() creates a PopupWindow widget, which is created as a floating container on top of the current Android Activity. However, it does not take focus away (it is different from the AlertDialog widget), thus when you take a screenshot of the current UI, it does not appear in the View Hierarchy because I believe the View Hierarchy only takes the tree of the current focused window. What it does is create a separate Activity/Window, which appears in Hierarchy Viewer.
I was wondering if anyone has any luck being able to access these elements, or if there is a known way to switch to another window/activity in Appium?
Thanks