摘要: 操作系统类型、操作系统版本、设备名称、要操作的APP应用的包名、activity名称 ANDROID_CAPS ={ "platformName":"Android", "platformVersion":"8", "deviceName":"55CDU16825001134", "udid":"5 阅读全文
posted @ 2019-11-14 16:51 爱语默 阅读(406) 评论(0) 推荐(0)
摘要: 操作界面函数: 1、swipe():模拟滑动 2、tap():点击坐标 3、from appium.webdriver.common.touch_action import TouchAction 1、swipe()函数:用来模拟滑动操作 参数说明: 坐标就是x/y坐标 duration是滑动从起点 阅读全文
posted @ 2019-11-14 16:45 爱语默 阅读(555) 评论(0) 推荐(0)
摘要: 这个方法只能用于安卓系统,方法通过类UiSelector()来构造对象的 官网地址:https://developer.android.google.cn/topic/libraries/testing-support-library/index.html#UIAutomator 打开链接到UiSe 阅读全文
posted @ 2019-11-14 16:26 爱语默 阅读(1740) 评论(0) 推荐(0)