O'Reilly logo

Mastering PhoneGap Mobile Application Development by Kerri Shotts

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing UI automation tests

To verify the correctness of our application on physical devices, we need to delve into user interface automation. These tests focus more on the interaction with your app and the verification of correct results rather than verifying the internal logic of the application. A test looks more like a collection of interactions with the app's widgets instead of it directly dealing with models, views, controllers, and the like. Checking for the proper result looks more like ensuring whether certain widgets are displayed on the screen rather than if an object has a specific property.

Although the goals of automation testing are the same as code testing, you do have to approach the tests from a different perspective. While testing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required