I am working on a small QA team that has been tasked with automating my company’s mobile app. The app is a hybrid app written in Javascript with the Cordova framework, and the app does not have ID’s for 9/10 of its elements when inspected in Appium. However much I would love to research this on my own and not bother you for an answer, I am currently not finding a whole lot of information online on what exactly a developer needs to do to ensure each element has a working accessibility ID compatible with automation.
So my question is, how are accessibility ID’s added to a Hybrid app?
I have made an attempt at answering this question myself, but when I search “Accessibility ID Android” it almost appears as if they don’t exist outside the context of automation. Does that mean that this is something I should be doing myself, and not the developer? The closest answer I found was some vague info on the Xamarin forums about a setting ContentDescriptor using XML, but it was in no way instructional and I am unable to find a tutorial on this and I’m not sure whether or not it is the answer I am looking for. Even if I knew how to set this up in XML, I have no direct access to the app itself, and so if that is a requirement for this method I would need to provide the developer with enough information to make the changes himself.
How is setting up accessibility app different from setting up regular IDs? Are there best practices in place to ensure the IDs won’t cause problems? Is this a job for the developer or for QA? Are there special exceptions for a Hybrid App?
created
Sep '18
last reply
Oct '18
- 6
replies
- 627
views
- 3
users
- 3
likes
- 1
link