How to prevent monkey checking when opening the notification panel and turning off Wi-Fi?

I am doing Monkey testing in my Android app. During the execution of events, Monkey pulls out the notification panel and clicks on the Wi-Fi / mobile data icons, so it turns them off.

I use this command: adb shell monkey -p package_name - throttle 100 -s 999 -v 50,000

I tried all the options given here: https://developer.android.com/studio/test/monkey.html

Is there a way to prevent the monkey validation test from opening?

+5
source share

Source: https://habr.com/ru/post/1257948/


All Articles