Best Resources for UIAutomation Testing for iOS Applications [closed]
Asked Answered
W

1

16

Testing with UIAutomation on Instruments is great, however, the documentation and resources around it are either non-existent or in hiding. What are the best resources (documentation, blog posts, Stack Overflow questions) that have helped you in implementing this on your projects? Are there any good open source testing scripts in the wild?

Winding answered 5/9, 2011 at 12:26 Comment(2)
Unrelated to the question, I'm not convinced that the best approach to handling the [ui-automation] tag is to create an iOS-specific variant and retagging everything. People have been using this tag well for iOS-related matters for over a year now with no confusion. Perhaps broadening the [ui-automation] tag wiki to include this possible definition is the right approach. I've asked a question about this on Meta, to see what others feel the best solution is: meta.stackexchange.com/questions/105149/… .Taryntaryne
I respectfully disagree. The current tag wiki clearly defines the scope. What would an iOS developer have in common with .NET developer looking to leverage the automation framework? These are two divergent topics.Winding
T
27

As I point out in my answer to this similar question, I covered UI Automation as part of my recent course on advanced iPhone development. The video for the "Testing" session that covers this instrument can be found for free on iTunes U, and the course notes on UI Automation, along with sample scripts, are available here.

If you have access to the WWDC 2010 videos, make sure to watch session 306 - "Automating User Interface Testing with Instruments". That was my first introduction to the topic, and they do a great job of running through the core concepts.

In addition, James Turner's "How to use UIAutomation to create iPhone UI tests" and Alex Vollmer's "Working with UIAutomation" are both write-ups that I've found useful.

Finally, the tag here on Stack Overflow contains many useful scripts and specific examples of UI Automation in action.

Taryntaryne answered 5/9, 2011 at 15:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.