Android APP autotest tool based on uiautomator, need no root
- 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
- 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"
, useadb shell input tap x y
to auto click