Verify text color in iphone uiautomation

Viewed 1142

I am testing an app with ios uiautomation and I need to verify the color of some static text controls. Is this possible? I didn't see any methods or properties that allow access to text styling.

2 Answers

There is no way to do this using standard accessibility on iOS. You could modify the accessibilityValue for the element with a string representation of the color, but this seems like it would create a poor experience for vision impaired users.

Related