How to prevent Monkey test from pressing the home button?

375 views Asked by At

I am running Monkey test on my android app, is there any way to prevent it from pressing the home button?

1

There are 1 answers

0
Ryan M On BEST ANSWER

One approach would be to use screen pinning to force the Monkey to stay within your app. Just pin your app to the screen before starting testing.