sikuli-monkey

An extension of Sikuli that enables running scripts against real Android devices without rooting them.

We all knows object-based (or component-based) testing tools are preferred, but at times image-based tools are needed as a complementary or fallback solution. Sikuli is a great image-based testing tool for many kinds of applications, if (and only if) users can interact with them on the desktop.

For the problem of Sikuli on Android devices, there exist some approaches:

These two approaches rely on the fact that Sikuli can see the app and control it directly or indirectly with keystrokes and mouse operations.

For some reason, if they are not applicable to your application under test, here is another option for you.

sikuli-monkey is a combination of monkeyrunner and an extended version of Sikuli.

The concept is really simple and is inspired by an extension to Sikuli called android-robot. That is extending Sikuli and adding a layer of redirection/delegation. For example:

To see siklui-monkey in action, watch the video below:

Sikuli on Android (no root)