1

I would like to write an automated test, which visualizes the touch and drag events (those were sent by the test app) with a circular marker. Is there any way to do it using the original Android testing framework? What about robotium? Please provide some source code. Thanks a lot.

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
Marcoconut
  • 13
  • 2

1 Answers1

1

Launch Dev Tools application, in Development Settings set Pointer Location. Then, you will be able to see where your touches go by a blue cross drawn on the screen.

Diego Torres Milano
  • 65,697
  • 9
  • 111
  • 134
  • Thank you for the hint, but unfortunately, it is claimed to work on emulators only: "The Dev Tool App is meant to be used only on the dev builds of the platform, such as the emulator" ([Issue 6412](http://code.google.com/p/android/issues/detail?id=6412)). I also couldn't get to "Development Settings" without a crash, and the emulators are way too slow (at least, on my PC with WinXP on board). – evgeny9 Mar 02 '12 at 14:49