I am new to Android Monkey UI Exerciser. Whenever I execute the monkey in the command prompt
adb shell monkey -v 50, it gives me some out put as follows.
<code>
:Monkey: seed=0 count=50
:IncludeCategory: android.intent.category.LAUNCHER
:IncludeCategory: android.intent.category.MONKEY
// Event percentages:
// 0: 15.0%
// 1: 10.0%
// 2: 15.0%
// 3: 25.0%
// 4: 15.0%
// 5: 2.0%
// 6: 2.0%
// 7: 1.0%
// 8: 15.0%
:Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.categ
ory.LAUNCHER;launchFlags=0x10000000;component=com.android.music/.MusicBrowserAct
ivity;end
// Allowing start of Intent { act=android.intent.action.MAIN cat=[android.in
tent.category.LAUNCHER] cmp=com.android.music/.MusicBrowserActivity } in package
com.android.music
:Sending Pointer ACTION_MOVE x=-4.0 y=2.0
:Sending Pointer ACTION_UP x=0.0 y=0.0
:Sending Pointer ACTION_DOWN x=47.0 y122.0
:Sending Pointer ACTION_UP x=29.0 y=129.0
:Sending Pointer ACTION_DOWN x=255.0 y=259.0
:Sending Pointer ACTION_UP x=255.0 y=259.0
:Sending Pointer ACTION_DOWN x=295.0 y=223.0
:Sending Pointer ACTION_UP x=290.0 y=213.0
:Sending Pointer ACTION_MOVE x=-5.0 y=3.0
Events injected: 50
ropped: keys=0 pointers=0 trackballs=0 flips=0
Network stats: elapsed time=1421ms (1421ms mobile, 0ms wifi, 0ms not connecte
d)// Monkey finished</code>
I am unable to interpret it. The android developers documentation is also unhelpful.
What does event percentage mean? What does switch mean? What is the co-relation between 9 items in event percentages and 9 sending pointers?
Please help me understand the output of monkey.