随笔分类 - appium
摘要:获取页面的activity的cmd命令 adb shell dumpsys activity top | findstr ACTIVITY
阅读全文
摘要:1.电脑上有APP的安装包,同时已安装aapt aapt dump badging apk路径 2.手机通过USB连接电脑,同时打开被测APP,在dos窗口输入 adb shell dumpsys window | findstr mCurrent 或者 adb shell dumpsys wind
阅读全文
摘要:# coding:utf-8from appium import webdriverdesired_caps = { "platformName": "Android", "deviceName": "2392d777", # 通过adb devices命令获取 "platformVersion":
阅读全文
摘要:appium元素定位 1. resource-id ele = driver.find_element_by_id('xxx') 2.text ele = driver.find_element_by_xpath('//*[@text="xxx"]') 3.content-desc ele = dr
阅读全文

浙公网安备 33010602011771号