Android UI testing: Monkey stuck in just a few events

I am trying to use Monkey to emphasize the user interface of my application.

I noticed that random keystrokes cannot go through all the actions of my application. Instead, it simply moves between several of them.

Is there any strategy you guys are using to help the monkey go through all the action?

+3
source share
1 answer

According to the default documentation, the monkey should move between all actions and packages, although this will happen randomly. Therefore, it cannot be ruled out that some activities will not be triggered.

I hope you have not set any restrictions during its launch. If you do not try to specify actions that are not called in Constraints, then run the tool

http://developer.android.com/guide/developing/tools/monkey.html

0
source

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


All Articles