摘要: appium是使用了uiautomator的框架的,所以uiautomator所带的定位方式。appium也是支持的 需要使用appium中find_element_by_android_uiautomator()方法 示例基本都已百度app为例 1)text定位 1.通过text文本来定位 'ne 阅读全文
posted @ 2019-05-15 19:43 梦忆安凉 阅读(639) 评论(0) 推荐(0) 编辑
摘要: appium整合了不同的自动化测试驱动程序。而新版本appium desktop 中安卓是使用UI Automator2来作为驱动程序的。以前版本是使用UI Automator1或 Selendroid。所以参数中需要加上 'automationName': 'uiautomator2'指定驱动程序 阅读全文
posted @ 2019-05-15 15:23 梦忆安凉 阅读(976) 评论(0) 推荐(0) 编辑