WEditor使用方法】的更多相关文章

APP的定位方式有: 1. Appium Desktop工具里的Inspector 2. /tools/bin/uiautomatorviewer.bat 最近发现在一个更好用的定位工具: Weditor. 简单介绍一下它的使用方法. 1. 终端中输入 pip install weditor安装weditor 2. 终端输入pip install uiautomator2安装uiautomator2 3. 终端输入: python -m uiautomator2 init, 它会在虚拟机中安装插…
Ubuntu系统下安装uiautomator2步骤: 1.安装命令: pip install --upgrade --pre uiautomator2 但是报错: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-fd8i2dr1/uiautomator2/ 后经大神提示后原因是Python版本问题,原版本是3.5.2,利用pyenv进行版本切换或升级 pyenv命令: ①安装…
简单介绍 python-uiautomator2是一个自动化测试开源工具,仅支持Android平台的原生应用测试. 支持平台及语言 python-uiautomator2封装了谷歌自带的uiautomator2测试框架,提供便利的python接口.他允许测试人员直接在PC上编写Python的测试代码,操作手机应用,完成自动化,大大提高了自动化代码编写的效率. 工作原理 以下图片使用Windows画图软件 如图所示,python-uiautomator2主要分为两个部分,python客户端,移动设…
JAVA学习总结    2 第一天    2 1:计算机概述(了解)    2 (1)计算机    2 (2)计算机硬件    2 (3)计算机软件    2 (4)软件开发(理解)    2 (5)语言    2 (6)人机交换    2 2:键盘功能键的认识和快捷键(掌握)    2 (1)功能键的认识    2 (2)快捷键    3 3:常见的DOS命令(掌握)    3 (1)常见的如下    3 (2)其他的几个(了解)    3 4:Java语言概述(了解)    4 (1)Jav…
该方是基于uiautomator2如下版本进行验证的: PS C:\windows\system32> pip show uiautomator2 Name: uiautomator2 Version: 1.2.2 Summary: Python Wrapper for Android UiAutomator2 test tool Home-page: https://github.com/codeskyblue/uiautomator2 Author: codeskyblue Author-e…
前言 android sdk里面自带的uiautomatorviewer.bat可以查看手机app上的元素,但是不太好用,网上找了个大牛写的weditor,试用了下还是蛮不错的 python环境:3.6 weditor环境准备 使用pip安装weditor,github地址https://github.com/openatx/weditor pip install --pre weditor 创建桌面快捷图标 python -m weditor --shortcut 创建完成后,桌面会出现一个W…
 1. 安装adb(安装方法——百度网盘(无邪)) 2. 安装python-uiautomator2 pip install --pre -U uiautomator2 3. 手机设备安装atx-agent 首先设备连接到PC,并能够adb devices发现该设备 输入python -m uiautomator2 init 4..终端中输入 pip install weditor安装weditor 5.终端中输入python -m weditor启动weditor 4.在输入框中输入设备号,开…
1.Atx的安装 安装adb使用以下命令安装atx最新版pip install --pre -U uiautomator2 手机接到电脑上之后,需要先运行一下命令:python -m uiautomator2 init将需要的程序部署到手机上(一次即可) 2.Atx Weditor ATX Weditor是一个python库,命令行安装 pip install --pre weditor , 命令行启动python -m weditor(PS: windows可以双击weditor快捷方式),会…
一,weditor的安装与使用 首选需要在电脑上配置好Python环境 下载安装命令如下,加上镜像下载速度更快: pip install weditor -i https://pypi.tuna.tsinghua.edu.cn/simple 启动weditor命令: python -m weditor 此时会打开浏览器新建窗口如下 连接手机.输入adb devices命令,获取手机的设备id 在浏览器editor页面,选择Android,输入手机的设备id,点击Connect按钮.按钮出现绿叶小…
来自博客: http://testingpai.com/article/1595507262082 以下方法操作前必须确保有手机设备连入电脑,检测是否有手机连入命令 adb devices 第一种:Android ADT 自带工具:uiAutormatorViewer 安装的andriod ADT工具,D:\android-sdk-windows\tools\bin 路径下双击uiautomatorviewer 打开元素定位界面后,点击左上角的图标进行截图,即可在截图上进行元素定位 使用缺点:每…