2

How to run monkey testing ONLY in testing application? How can I set border for monkey testing. I don't want that it touches any button out of my testing application.

Ponomarenko Oleh
  • 732
  • 2
  • 12
  • 25
  • Welcome to StackOverflow. Please read and follow the posting guidelines in the help documentation. [on topic](http://stackoverflow.com/help/on-topic) and [how to ask](http://stackoverflow.com/help/how-to-ask) apply here. – Prune Sep 21 '16 at 23:31

1 Answers1

1

According to the doc. You can use the option -p to limit your test in specific package.

Something like this:

adb shell monkey -p your.package.name -v 500
einverne
  • 6,454
  • 6
  • 45
  • 91