UI Automation - Testing iOS Apps from the Top Down

A session at CodeMash 2012

Friday 13th January, 2012

9:30am to 10:30am (EST)

So, for the nth time, you fire up your awesome iOS app to run through your testing steps. Manually. Over and over. And you have to do the same tests on the iPad. And the iPod touch. On iOS 4 and then 5. And you just want to pull your hair out. Oh, and you just found a memory leak. Fix it and start over again. And again. Now we have UI Automation, Apple's official UI testing framework. You manipulate your app with Javascript through the views and controls, similar to the way you'd manipulate a web page. The scripts can drive the simulator or even the device. As part of Instruments, Apple's performance monitoring and debugging tool, you can automate your apps through all kinds of scenarios and evaluate the performance or memory usage. Its so powerful and flexible that it can look a little overwhelming at first. We'll investigate the framework through live interactive demos against a real application and walk through good practices to keep your test suite organized as it grows. A very basic understanding of iOS and Javascript programming is assumed.

About the speaker

This person is speaking at this event.
Jonathan Penn

Thoughtful. Cautious. Bold. Stubborn. Good looking.

Next session in Salon F

10:45am Ubiquitous App development with PhoneGap by Andrew Glover

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 9:30am10:30am EST

Date Fri 13th January 2012

Short URL


View the schedule



See something wrong?

Report an issue with this session