I am planning to capture the uiautomator dump view.xml files and try to view using Uiautomatorviewer.
adb shell uiautomator dump view.xml
Is there a way to capture the uiautomatorsnapshots from command line while tests are running and able to view these files using Uiautomatorviewer?
adb pull /sdcard/view.xml./view.uix
Open > UI xml dump
adb exec-out screencap -p > screen.png
Open > Screenshot
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.