摘要: 一、 双击tools\bin 下的uiautomateviewer.bat 二、连接手机后,点击“Device Screenshot” 三、获取到当前手机页面内容(只能获取当前页面的内容,新的页面要重新dump) 四、选择元素的代码 1. find_element_by_xxx 符合条件的第一个元素 阅读全文
posted @ 2019-06-03 11:38 lixinhang 阅读(3648) 评论(0) 推荐(0) 编辑
摘要: 安装python和PyCharm 阅读全文
posted @ 2019-05-31 18:13 lixinhang 阅读(3278) 评论(0) 推荐(0) 编辑
摘要: 定位到aapt.exe所在的目录 输入命令 aapt.exe dump badging D:\apk\toutiao.apk 可以获得appPackage: 可以获得appActivity: 或者通过手机最近打开app的log查看: adb shell dumpsys activity recent 阅读全文
posted @ 2019-05-30 18:12 lixinhang 阅读(273) 评论(0) 推荐(0) 编辑
摘要: APPium的环境准备,这点很重要 阅读全文
posted @ 2019-05-30 14:33 lixinhang 阅读(234) 评论(0) 推荐(0) 编辑
摘要: Appium简单介绍 阅读全文
posted @ 2019-05-30 13:43 lixinhang 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 通过宽度高度调整窗口大小、全屏窗口、滚动窗口 阅读全文
posted @ 2019-05-29 17:47 lixinhang 阅读(2498) 评论(0) 推荐(0) 编辑
摘要: 使用浏览器copy定位元素表达式 阅读全文
posted @ 2019-05-29 17:11 lixinhang 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 制造断点,来查看隐藏菜单元素 阅读全文
posted @ 2019-05-29 14:24 lixinhang 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 浏览器窗口上传系统文件 阅读全文
posted @ 2019-05-29 14:18 lixinhang 阅读(374) 评论(0) 推荐(0) 编辑
摘要: 模拟鼠标停留事件 阅读全文
posted @ 2019-05-29 14:18 lixinhang 阅读(768) 评论(0) 推荐(0) 编辑