512433465 / autotest_helper Goto Github PK
View Code? Open in Web Editor NEW二次开发 uiautomatorviewer 优化定位符生成,支持生成Java,Python自动化代码,修复自带工具画面有动态加载时截图失败问题,优化自带工具截图速度 ,实现类似录制脚本功能。兼容IOS安卓
License: Apache License 2.0
二次开发 uiautomatorviewer 优化定位符生成,支持生成Java,Python自动化代码,修复自带工具画面有动态加载时截图失败问题,优化自带工具截图速度 ,实现类似录制脚本功能。兼容IOS安卓
License: Apache License 2.0
页面移动时会闪屏,底部驴妈妈的背景与我的页面混合显示,请问什么原因
https://dn-coding-net-production-pp.qbox.me/9a8c958f-9498-47ad-a0e0-df39067e6e41.gif
想基于您的工具继续开发完善,请问可以吗?
没root 是没权限修改data的,天王老子来了都不行
vmos虚拟的也是虚拟的data
已通过adb shell 查看LvmamaXmlKit.jar
java -XstartOnFirstThread -jar uiautomatorviewer-26.0.0-dev.jar
shell报错:文件加载异常:/var/folders/k5/5xsk3r9s4b7b9_k0qw7xw3bw0000gn/T/uiautomatorviewer_4402091181245857770/dump_1398279819454324593.uix
Lvmama UI Automator Viewer报错:Error while parsing UI hierarchy XML file: null[Ljava.lang.StackTraceElement;@14243dd4
Error while parsing UI hierarchy XML file: null[Ljava.lang.StackTraceElement;@14243dd4
自动生成的python代码如下:(最后一个操作少了driver,且这个元素是有唯一ID属性定的,我选ID 也是出来XPATH
driver.find_element_by_xpath("//android.widget.EditText[@resource-id='com.flash.download:id/add_input' and @text='输入下载链接,支持http、https、ftp、ed2k、magnet等']").clear()
time.sleep(2)
.find_element_by_xpath("//android.widget.EditText[@resource-id='com.flash.download:id/add_input' and @text='输入下载链接,支持http、https、ftp、ed2k、magnet等']").send_keys(333)
如果还维护的话,代码输出框这能不能加个清屏按钮,另外右键find生成的元素变量命名能不能自动加个数字来区分
Ubuntu 和原版一模一樣
pc
127|apollo:/data/local/tmp $ pwd
/data/local/tmp
apollo:/data/local/tmp $ ls -l
total 9186
-rw-rw-rw- 1 shell shell 1118 2020-11-22 22:45 LvmamaXmlK
drwxrwxrwx 3 shell shell 3488 2020-11-21 23:38 dalvik-cache
drwxrwxrwx 5 shell shell 3488 2020-11-14 17:47 perfd
打开android-sdk\tools\bin\uiautomatorviewer.bat 抓取xml时出现
“Error while parsing UI hierarchy XML file: null[Ljava.lang.StackTraceElement;@2d47b33
Error while parsing UI hierarchy XML file: null[Ljava.lang.StackTraceElement;@2d47b33
”
dos窗口
文件加载异常:
C:\Users\ADMINI~1\AppData\Local\Temp\uiautomatorviewer_7276255349737423856\dump_5897836361985842193.uix
adb服务、手机都重启多次还是如此,这个项目还在维护的话请关注下这个问题, 谢谢~
Error while parsing UI hierarchy XML file: null[Ljava.lang.StackTraceElement;@6589d966
Error while parsing UI hierarchy XML file: null[Ljava.lang.StackTraceElement;@6589d966
LvmamaXmlKit.jar已经复制到手机上
athene_f:/data/local/tmp # ls -l
total 1632
-rw-rw---- 1 shell shell 1118 2018-10-23 18:15 LvmamaXmlKit.jar
1,adb connect 手机,想摆脱数据线
2,原版带有搜索功能,此版本的jar包,没有搜索了
3,增加名称,元素唯一性检验,多谢!
真机出错,Error while parsing UI hierarchy XML file: null[Ljava.lang.StackTraceElement;@e50cb1
java.lang.NullPointerException
只是开源了编译后的jar包吗 ?
请问代码修改有开源吗 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.