Book Image

Learning Android Application Testing

Book Image

Learning Android Application Testing

Overview of this book

Table of Contents (16 chapters)
Learning Android Application Testing
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Test scripting with monkeyrunner


The possibilities of monkey are fairly limited, and the lack of flow control restricts its use to very simple cases.To circumvent these limitations, a new project was created, which was named monkeyrunner. Notwithstanding this, the name is almost the same and leads to a huge amount of confusion because they are not related in any way.

Monkeyrunner, which is already included in the latest versions of the Android SDK, is a tool that provides an API for the purpose of writing scripts that externally control an Android device or emulator.

Monkeyrunner is built on top of Jython (http://jython.org/), a version of the Python programming language (http://python.org/), which is designed to run on the Java platform.

According to its documentation, the monkeyrunner tool provides these unique features for Android testing. These are just the highlights of the complete list of features, examples, and reference documentation that can be obtained from the monkeyrunner home...