How to find elements of a Native application on iPhone using custom attributes


I am working on an application which is mission criticle and has common accessibility identifiers for different elements same. Therefore, I can’t use accessibility identifiers. We asked out application developers to add a property to all such elements by name automationID and assign some unique value to them.

Now I want to access these elements using automation ID instread of usual accessibility identifier, I am facing hard time to search for and element on a page using the value of a custom attribute.

Can someone help me in this. I am using dotnet driver of appium and the version for appium is 1.4

1 Like

Hi Ankur ,

You can use xpath at such situation .its easy to find out xpath its available on the right side of appium inspector page .

See and revert back to me if you get any problem.