Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 473 Bytes

readme.md

File metadata and controls

13 lines (10 loc) · 473 Bytes

A Monkey

Android APP autotest tool based on uiautomator, need no root

usage

  • pip install -r requirements.txt
  • python amonkey.py -p com.xiaomi.music
  • Get exposed components from apk
    • python amonkey.py -e AndroidManifest.xml|pkg.apk

how does it work?

  • get all exposed component through axml from androguard, and start it one by one
  • analyse UI: adb shell "/system/bin/uiautomator dump /sdcard/window_dump.xml", use adb shell input tap x y to auto click