3 ms·
Not sure about other platforms, but I like the way macOS/iOS uses the accessibility metadata to look up UI elements for testing. So in order to "access" a butto
by rudedogg 6y ago
Not sure about other platforms, but I like the way macOS/iOS uses the accessibility metadata to look up UI elements for testing. So in order to "access" a button in a test, you have to do the accessibility work.
You need it to take automated screenshots too.
- ygra 6y agoIt's the same on Windows. Automated UI testing almost always uses the accessibility APIs, both to find controls and to interact with them.
- mwcampbell 6y agoImplementing enough accessibility to enable automated testing is a good start, but unless you're aware of the needs of people using screen readers and other assistive technologies (and possibly incorporate those requirements into your automated tests), you won't automatically get full accessibility just by exposing the information that your tests need in order to control the UI.