How to find elements of Dynamic elements in iOS apps

Hi All,

I have to write test cases for Native iOS app which has a business rules that adds new elements on fly.
I need to write test cases for the elements for those dynamic elements.
What is the best way for finding element in this case?
Also the elements which are always visible but because of top element’s xpath index will be changing. How to find elements for those elements?

Note: Most of the elements are populated value from web service call and binding. So, element name, label and value will keep changing bases on inputs.
I am writing test cases in appium java client and IOSDriver.

Hi ,

Even I am facing this issue… Got any solution.

Did you read this issuses. Maybe this help


Even I am also facing with this issue… Anyone please help me to resolve?