This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

Our application home screen looks like this
https://drive.google.com/open?id=1Pnb8k76VhwU4iW8KrrN1I0b65xb0ob973

When I tried to inspect the items under menu I am not getting the unique id’s of the items. All the items are having unique id(Confirmed with developer - https://drive.google.com/file/d/1PMLWhUTWEIhwr9pGTOr54bm-p1lgfvfd/view?usp=sharing3)

String XML fetched by the appium app inspector
https://drive.google.com/open?id=1c5rbB0ZAPHjfhfztj0gQkqruUxeO-31g1

screenshot: https://drive.google.com/open?id=1y0SZLeebBpmtw4ezmxl1Tt_zt4AlSWzJ5

I tried to inspect the element of similar application like flipkar,playstore,amazon,paytm where they have menu. But i could see same result for all the apps.

Thanks

  • created

    Jan '19
  • last reply

    Jan '19
  • 1

    reply

  • 126

    views

  • 2

    users

  • 4

    links

It might be an issue with Appium inspector since you do not see the id’s. Try to inspect with uiAutomatorviewer.
As a work around, for the menu I defined the elements by text. E.g. below, work perfect for me.
The menu list in my case has the same resource ID, only text is different

@AndroidFindBy(uiAutomator = "new UiSelector().text(\"Inbox\")")
public MobileElement inboxButton;