??????????android?????????????????ó????????豸?з????????????鷳??????????????????????????о??????monkeyrunner ?????????д???????????monkeyrunner????????????
???????????д??monkeyrunner????
????http://youxilua.blog.51cto.com/3357586/772666
???????????:
??????????????apk??android?????????android???
???????????趨??activity??????android?????????android??????Ч???
????????????豸???????????
??????????????????????е?android?????????android???
????????????????????????????е?apk?????android????????????
???????????:
????????????:
???????ú?android /tootls ?? android /platform-tools ??????????????У????adb?????????cmd??????????
?????????д:
?????ù????????????????????

????componentName.txt
??????????
???????????????е?activity??????????
????????:
kg.tom/.HandlerThreadActivity
kg.monkey/.MonkeyActivity
takeSnap.bat
@echo off
????rem ???????????豸 adb devices > devices.txt rem
???????APK??? dir apk /B > apk.txt rem ????monkeyrunner
??????? monkeyrunner work.py