Android - Not able to identify popup dialog/window

Android : Appium (UIautomatorviewer) is not identifying the element

I am trying to identify popup window in one of the android app, but appium is not able to identify that element.
It is android native element(mFilterPopupDialog) which is used in app


Appium version (or git revision) that exhibits the issue:
Last Appium version that did not exhibit the issue (if applicable):NA
Desktop OS/version used to run Appium: Windows 7
Node.js version (unless using|exe):NA
Mobile platform/version under test: Android 5.0
Real device or emulator/simulator: Real device(HTC 1+)
Appium CLI or|exe:

hey Usha,

try using the command
Alert alert = driver.switchto().alert

hope this will resolve the issue.

@ [Contact]

That will throw exception Janardhan
(org.openqa.selenium.WebDriverException: Not yet implemented)

i have a case of tapping on OK button of the bluetooth alert.


where xpath is the Locator of OK button in the alert.

@ushahoneywell are u able to inspect the element in UIAutomator Viewer.

In android case, how do i treat this problem??