随笔分类 -  Appium_Java

【基础】手机连接电脑,常用命令(三)
摘要:一、adb devices:用来展示当前连接到电脑的安卓手机或者模拟器(注意中间没有小横杠) List of devices attached 192.168.56.101:5555 device emulaor-5554 offline 第一个参数为设备id,第二个为设备状态 二、dir:用来显示 阅读全文
posted @ 2018-04-06 15:24 Jourly 阅读(1412) 评论(0) 推荐(0)
【基础】查找元素篇(二)
摘要:通过uiautomatorviewer工具来定位 一、通过ID(resource-id) 示例: driver.findElement(By.id("com.globalegrow.app.gearbest:id/show_shop_price")); driver.findElementById( 阅读全文
posted @ 2017-12-21 13:59 Jourly 阅读(308) 评论(0) 推荐(0)