PacktLib: Robotium Automated Testing for Android

Robotium Automated Testing for Android

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Getting Started with Robotium

Robotium framework

Features and benefits

Setting up an Android environment

Summary

Creating a Test Project Using Robotium

Creating the AUT

Creating a test project

Creating a test case

Adding the Robotium library

Adding the package name in AndroidManifest.xml

Robotium's test case code

Running the test case

Summary

Robotium APIs

Solo

API calls

Resource ID in Robotium

Understanding internationalization

Summary

Web Support in Robotium

API set

Hybrid test example

Summary

Comparison with Other Frameworks

MonkeyRunner

Robolectric

UI Automator

Calabash

Summary

Remote Control in Robotium

Software Automation Framework Support

Working of a Remote Control for Android

Robotium Remote Control using SAFS

Summary

Other Robotium Utilities

The RobotiumUtils class

XPath API and syntax

Robotium for pre-installed applications

Summary

Robotium with Maven

Automate Android app built with Maven

Build Android tests using Maven

Summary

Index