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.
I don't know how much you have already implemented using UI Automation, but if you have not yet invested too much I would strongly recommend using FoneMonkey instead. It has an excellent script recording facility, outputs Objective C/SenTestCase scripts, and the scripts have full access to the internal of your program so that you can test color or any other property you like. It is easily extensible, and I have also generally found it to be much less of a pain to work with than UI Automation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With