Pop-up handling

I am unable to find pop window in android
Ex- After login, before go to home page it will ask Enable location pop window will come.
how to find that element.

can’t u locate the pop up in appium inspector?

through UIautomator viewer im dng but not working

how should locate and wt should write

Hi, sandeep
which i’m using app that every time ask location and clicking on enable it ll go to -->setting Location page and i’m not finding any locator mean how to write for xpath .

You should be able to locate the elements. uiautomatorviewer does not work if node is running on appium.app

Check with appium inspector if you are using a Mac system

window 8.1 i’m using