Appium Android Automation Problem

Hi Guys and Girls,

I am having a problem with an Appium android automation test and wondered if anyone could offer some advice.

I have a step in my app where a native dialog box is displayed with 2 options to interact with, I have used the UIXML to gain the resource ID however it is stating it is unable to find the element.

I have tried by xpath and with adding an implicit wait to be sure the dialog is in focus.

The very strange thing is that this exact interaction happens on app launch and the same code snippet does not work even though it shares the same resource ID.


Try macaca to get the relative xpath - might help u :slight_smile: