Skip to content

zzzzfeng/amonkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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