0

Is it possible to create some kind of scripting with Genymotion?

I know there is shell commands, but I also need to simulate user touch (using adb input).

The idea is to create some simple test for my app, where the script will execute certain shell commands and adb as well.

Thanks

Kawaii-Hachii
  • 1,017
  • 7
  • 22
  • 36

1 Answers1

2

As Genymotion VMs are considered as a physical device by ADB, you can use MonkeyRunner.

This tool, provided by Google allows you to send touches events among other things.

You can script, using Python many inputs. Look at this gist, coming from this StackOverflow post, it gives good example for a complete gesture.

Community
  • 1
  • 1
eyal-lezmy
  • 7,090
  • 3
  • 41
  • 35