O'Reilly logo

Android Application Testing Guide by 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, named monkeyrunner (http://developer.android.com/guide/developing/tools/monkeyrunner_concepts.html). Notwithstanding that the name is almost the same and leads to not a small amount of confusion, they are not related in any way.

Monkeyrunner, which is already included in the latest versions of the Android SDK, is in its initial stages and nowadays its use is quite limited but its future could be bright. It is a tool providing an API for writing scripts that externally control an Android device or emulator.

Monkeyrunner is built on top of Jython ...

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