Locator issue about id and accessoryID

I know Accessibility ID and iD is the best way to deal with the job.
But based on the documents I understand acessibility ID, but I want to use ID because developer don’t add accessibility ID into the iOS project, so I can add id (random name)

Developers must provide the accessibility ID, not only for the sake of automation but for the disabled people. If not you can use other locator strategies like predicate string or class chain in ios .
Hope this will help you.

1 Like

Yeah it makes sense , but in fact the developers never offer it , only XPath… @Ravi_Kishore