3

我一直在尝试使用 Monkey 对我的应用程序的 UI 进行压力测试。

我注意到随机击键无法遍历我的应用程序的所有活动。相反,它只是在其中几个之间循环。

你们有什么策略可以帮助猴子遍历所有活动吗?

4

1 回答 1

0

AS per the documentation by default monkey should navigate between all activities and packages though this would happen in a random fashion. Hence the probability of some activities not being called cannot be ruled out

Hope you have not set any Constraints while running it. If not try listing the activities that are not being called in Constraints and then run the tool

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

于 2010-11-29T08:30:10.710 回答