How to prevent Monkey test from pressing the home button?

352 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 best solutions below

0
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.