Unable to find the child elements inside a custom element in iOS app

Hi All,

I am trying to find the child elements in appium doctor for a custom UI view. Below you can see the image from appium doctor.

I have made below changes to the code.

Before - in xib file the accessibility of this parent element was not selected so I could not see it in the doctor.
Now- I checked the checkbox for the parent element and now I can see it in the doctor. In code i have modified below property for the parent element but still I cannot access the child element.

self.isAccessibilityElement = NO;
self.isAccessibilityElement = YES;

Could anyone point me in right direction? This will solve many such problems.

P.S. this whole view is custom view. I could see all other elements but not these 4.

ask IOS dev to enable it. met same and enabled it here: http://screencast.com/t/yfGHyElst

do not remember what exactly cause this.

Hi Aleksei,

No luck with that. Only thing changes here is instead of mentioning UIAElement it shows UIAButton but the result is same. I still do not see these elements :frowning:

I have access to the code and I am modifying the code to add these IDs and immediately checking them in the appium doctor. But these are the few places which I am stuck at.

If you have any other suggestions please let me know.