vendredi 8 juin 2018

UI/Application Exerciser Monkey turns off USB debugging

I am running stress tests over several open-source Android applications on a Android device connected to a Linux Server, using the Exerciser Monkey. I use 50 random seeds previously generated to perform the same tests to all the apps. Wherever, for some of them, i lose the connection to the device, because the stress tests are turning off the usb debugging mode. I searched for a solution to hide the notification bar (because there is there an option to turn off usb debugging), but it seems that it is not possible. I even tried to disable the system key events, to minimize the possibility of occurrence of such situations.

The command that I am using is:

adb shell -s <seed> -p <package-name> -v <number-of-events> --pct-syskeys 0

Does anyone know a way to avoid this situation?

Thank you.

Aucun commentaire:

Enregistrer un commentaire