How to record touches and emulate them later on real devices (with ROOT if needed)?

2.4k views Asked by At

Background

the monkeyRunner (and monkey) is a nice tool to test out apps.

I have an idea of using it (or something similar) to record & emulate touches (and keys).

The problem

The tool itself has some disadvantages:

  • needs to be run on an emulator or on a device that is connected to a PC.

  • needs adb.

  • it needs that you type it exactly what to do , which requires a lot of patience and trial&error in order to find out what to write.

  • has limitations on how many devices to run (since it needs to be connected to a PC).

  • needs customization of each device (where to put the touches, for example).

  • not intuitive, especially for QA teams.

The question

Is it possible to use this tool in order to record touches (and keys) and later emulate them, even without using a computer? Maybe using a rooted device?

There are some advantages to having this ability:

  1. It can help running tests on the go, and help QA teams to do tests in an easier way. You could have a tool that help you record macros for tests that will run on each new version, and some tests that are a bit random, ...

  2. It can help making cool apps for power users, for example in order to help other people, remote control, macros,...

  3. since you don't have to connect the device to the computer, you can run the macros on your app on multiple devices simultaneously .

0

There are 0 answers