app自动化
科哥的AIGC
这个作者很懒,什么都没留下…
展开
-
Appium+python自动化29-toast消息
前言appium1.5以后的版本才支持toast定位,并且 'automationName'得设置为'Uiautomator2',才能捕获到。一、 Supported Platforms1.查看appium v1.7版本[官方文档](https://github.com/appium/appium/)**Supported Platforms**Appi...转载 2019-11-07 09:19:39 · 115 阅读 · 0 评论 -
Appium+python自动化—关于by_name定位
前言appium1.5以下老的版本是可以通过name定位的,新版本从1.5以后都不支持name定位了一、 name定位报错1.最新版appium V1.7用name定位,报错:> selenium.common.exceptions.InvalidSelectorException: Message: Locator Strategy 'name' is not supported ...转载 2019-11-07 09:17:53 · 499 阅读 · 0 评论 -
appium 元素定位方法
一、常用识别元素的工具uiautomator:Android SDK自带的一个工具,在tools目录下monitor:Android SDK自带的一个工具,在tools目录下Appium Inspector:Appium自带的一个功能,只有mac下可以使用该功能下面是用monitor抓取到的页面元素下面使用Appium Inspector定位的元素...转载 2019-11-06 15:22:56 · 1194 阅读 · 1 评论