UI Testing with the UIAutomation Framework
An O'Reilly Breakdown
Publisher: O'Reilly Media
Final Release Date: February 2011
Run time: 1 hour 16 minutes

Good programmers test, and great programmers test everything. But it's much harder to test user interfaces than raw code. Still, in iOS applications, the user interface is critical... and nothing gets a 1-star review like a bad interface. In this Breakdown, Dan Pilone introduces and demonstrates the UIAutomation framework, which allows for robust testing of your app's user interface. You'll learn how to ensure your keyboards and swipes and text boxes all behave, and quickly impress your users with a flexible and responsive user interface.

Along the way, Pilone does more than just demonstrate a few buttons and scripts. You'll get an inside look at not just how to test, but to design a good user interface. You'll also see how UIAutomation does more than just test text boxes, but actually gives you insight into your application's usability.

The experts in the O'Reilly Breakdown live video series not only break down the concepts of difficult and complex subjects, they also demonstrate practical implementation and use. Each episode features an experienced programmer, developer, or software designer working on real-world challenges, ranging from iPad user interface design and multi-tasking on Android phones to caching in cloud-based applications.

Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaUI Testing with the UIAutomation Framework
 
4.5

(based on 2 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 2 customers

Sort by

Displaying reviews 1-2

Back to top

(1 of 1 customers found this review helpful)

 
5.0

Worth ten times the price

By Stevey Wibblecheeks

from Victoria

About Me Developer

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate
    • Novice

    Comments about O'Reilly Media UI Testing with the UIAutomation Framework:

    This video is really good (along with Dan's other video, "Unit Testing iPhone Apps"). Dan goes into great detail, but somehow never gets bogged down or boring, making it easy to learn how to use the UIAutomation framework to test your iPhone app.

    Dan is awesome. He makes it feel like you're his buddy, and you're over at his place for a beer, and he just decided to show you something neat that he's been working on. This stuff is not difficult, but Dan makes this material truly accessible. You trying learning this with Google and the Apple documentation: it could take you days. It's way better to just watch Dan, and learn it in minutes.

    Between these two videos, I have probably saved many hours or days of my life that I would have otherwise have spent manually testing my app, and no doubt fixing bugs after they have shipped.

    The only issue I had with the video was that I thought that whoever is writing the on-screen captions ought to dial it back a little, in frequency and tone. At one point I think the captioning said that it was "impossible" to perform automated testing on a continuous integration system, because a device must be plugged in to the test machine. Well, what if you have a test device permanently connected to your test machine? Would it be impossible to run automated tests then? I guess I will find out when I set up a continuous integration server, but the captions sometimes detract from the video.

    Thank-you, Dan. Superb videos! You are the best.

    (1 of 2 customers found this review helpful)

     
    4.0

    Good introduction to Instruments

    By Michal Konrad Owsiak

    from Poland

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Easy to understand

    Cons

    • No example project

    Best Uses

      Comments about O'Reilly Media UI Testing with the UIAutomation Framework:

      So, you have already incorporated Unit Testing into your application. Now, it's time to test the UI. Manual testing doesn't scale here. If you have came up with complex application, you can find yourself in a position where testing most of the functionality and their variations is simply impossible. Another drawback is that you have to do it again and again. Unit Testing doesn't provide a solution here. It places you on the wrong side of the screen. You actually deal with the code, not the application itself. You don't have user's perspective. This, however, can be solved if you start with User Interface testing instead. It puts the test process in the position of the user. What is the one of the biggest benefits here? You don't have to test your application by yourself (manually), while at the same time, you have your application tested as if somebody used it. User interface testing can be done via, so called, UI Automation Framework. This is a tool you can find bundled with XCode. It allows you to automate the User Interface testing process. It has great feature that helps you to automate the process even more – it uses Java Script as a scripting language, and provides you with ability to "write" the test instead of recording it. Dan and Courtney try to provide viewers with most basic usage scenarios and give you a real introduction to UI testing. This way, you can get the basics of the process. You will, probably, look for another sources as well, but still, this is a good place to start. As Dan mentions, dozen of iPhone developers have never ever seen the Instruments in their lives. This is really an issue. There are so many profiling tools out there and still so few people use the in order to analyze their applications. What is nice about this video is that it gives you the taste of what you can achieve with User Automation Framework, on the other hand it's a pity that you can't download the tutorial and go with the steps Dan does. This is really a drawback of the series. You can watch, but you can't touch. Of course, you can create your own project and start experimenting, but I am pretty sure that providing viewers with simple application for download and providing them with ability to proceed with all the steps would be a huge improvement here. On the other hand, what I like most about the series is that Courtney and Dan prepare it a really good way. It is simply an entertainment to watch episodes one after another.

      Displaying reviews 1-2

      Back to top

       
      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Video: $69.99
      (Streaming, Downloadable)