1.1、UIAutomatorView
Android SDK 自带的定位工具
位置:D:\android-sdk_r24.4.1-windows\android-sdk-windows\tools (uiautomatorviewer.bat)
元素常见属性:text
resourceid
class:元素标签
content-desc :元素功能描述 语音播报
1.2、Appium Inspector
从官网下载,Appium Inspector.exe

1.3 Weditor
Uiautomator2 python 第三方库,appUi自动化测试框架
安装:
先安装Uiautomator2:pip install Uiautomator2
再安装:python -m uiautomator2 init
最后安装weditor:pip install weditor
安装失败的时候,请看下面这个链接python安装weditor失败, error: subprocess-exited-with-error - 慕婉清 - 博客园 (cnblogs.com)
确认安装:weditor --help


本文介绍了三种用于Appium元素定位的工具:UIAutomatorView,它是Android SDK自带的定位工具,提供了text, resource-id, class和content-desc等属性;Appium Inspector是从官网下载的独立工具;Weditor是基于Uiautomator2的Python第三方库,用于appUI自动化测试,安装过程包括Uiautomator2和weditor的pip安装。"
113600369,10326157,MySQL8.0详细安装教程,"['MySQL', '数据库安装', 'Linux系统', 'Ubuntu系统', 'Windows系统']

729

被折叠的 条评论
为什么被折叠?



