I have just learned about Apple's UI Automation testing framework. Unfortunately, I don't have an iOS project to work on at the moment, so I am probably going to forget all about it. This is my cheatsheet. It may not help you at all.
- WWDC 2010 Session 306 - Automating User Interface Testing with Instruments
- Use the Tuneup library: https://github.com/alexvollmer/tuneup_js
- Assign an
accessibilityIdentifierto each UI element.
UIATarget.onAlertto handle externally generated alerts.
UIAElement.logElementTree()to figure out how to navigate the visual hierarchy.
- If a value doesn't change when expected, try adding