????????????λ???????????????????monkey?????С???????????Щ?????????????Щ????????????????? ???????????monkey???????????????????????????????????????????????
?????????????monkey????? Monkey??Android?е?????????й??????????????????????????豸?С???????????α?????????????(?簴?????????????????????????)??????????????????????????????????Monkey?????????????????????????????????????Ч???????
????Monkey ????????е???????????????????????κ???????????
???????Monkey????
?????????????monkey???в????????????????????Щ????????????????????????????裨???????????????????????????????ú?ADB???????????????????????????google????????ú????????????????????
????1??ADB????Android?????豸??
????????????????????cmd adb devices ???豸???????
????C:Documents and SettingsAdministrator>adb devices List of devices attached emulator-5554 device
????2?????????????????PackageName??
?????????豸?????????£???????????????adb shell ????shell????
C:Documents and SettingsAdministrator>adb shell
#
??data/data??????μ???ó?????????????????????ó?????????????????
C:Documents and SettingsAdministrator>adb shell
# ls data/data ls???????????????????μ????
ls data/data
com.google.android.btrouter
com.android.providers.telephony
com.android.mms
com.android.providers.downloads
...
??com.android.calculator2
com.thestore.main
com.android.providers.contacts
????3????com.android.calculator2??????????MonkeyTest ????????????????
????#monkey -p com.android.calculator2 -v 500?????????????????????????????
????-p???????? –v ??????????????
????4.????Monkey???????????
????Monkey Test??й????????????????????????????
????1??????????Monkey????????????????????????????????????????????????????????????????
????2???????ó?????????????κ????????Monkey???????????
????3???????ó??????????ó??????(application not responding)?????Monkey?????????????
?????????β??????趨?μ?Monkey??????????????????????????