O'Reilly logo

Learning Android Application Testing by Paul Blundell, Diego Torres Milano

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

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 ...

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