![](https://img-blog.csdnimg.cn/20190918135101160.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Appium
Appium
默金……
这个作者很懒,什么都没留下…
展开
-
appium 多个APP进行切换测试
1.desired_caps配置 autoLaunch为False ,表示初始化driver后不自动启动APP。3.初始化driver完成后,打开多个APP进行切换。appium 启动多个APP。2.获取Activity。原创 2022-08-17 16:53:06 · 2249 阅读 · 2 评论 -
Original error: Could not find a connected Android device in 20099ms
处理命令时发生未知的服务器端错误。原始错误在20099ms内找不到已连接的Android设备。运行前启动appium服务为正常关闭,添加运行前将服务关闭,再次重启动服务就好了。appium将默认断开4723,换为其他可以正常运行。...原创 2022-07-29 10:26:18 · 1204 阅读 · 0 评论 -
Original error: UiAutomator2 Server cannot start because the local port #8200 is busy【因为本地端口#8200正忙】
Original error: UiAutomator2 Server cannot start because the local port #8200 is busy【因为本地端口#8200正忙】原创 2022-07-28 17:08:00 · 3285 阅读 · 0 评论 -
APP自动化测试Xpath定位(uiautomator2,appium)
当前有个需求通过电池的text(//*[@text=“电池”])定位到进入的小箭头图标。原创 2022-07-19 13:29:47 · 1483 阅读 · 0 评论 -
appium 环境搭建配置清单带版本号
appium 环境搭建配置清单带版本号原创 2022-07-16 11:26:57 · 793 阅读 · 0 评论 -
Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file
Original error: java.lang.UnsupportedClassVersionError: com/android/apksigner/ApkSignerTool has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to原创 2022-07-16 11:09:17 · 5210 阅读 · 2 评论 -
使用uiautomatorviewer报错:com.android.ddmlib.SyncException: Remote object doesn‘t exist
使用uiautomatorviewer报错:com.android.ddmlib.SyncException: Remote object doesn’t exist!Error obtaining Ul hierarchyReason:Error while obtaining Ul hierarchy XML file:com.android.ddmlib.SyncException: Remote object doesn’t exist!原因:使用了uiautomator2 的wedit原创 2022-03-16 10:47:33 · 2608 阅读 · 0 评论 -
appium运行报错We wanted {“required“:[“type“,“ms“]} and you sent [“implicit“]
appium版本1.17.1运行报错selenium.common.exceptions.WebDriverException: Message: Parameters were incorrect. We wanted {“required”:[“type”,“ms”]} and you sent [“implicit”]原因:webdriver版本和appium的版本对不上所致appium版本1.17.1需要安装selenium 的3.3.1版本卸载:pip3 uninstall seleniu原创 2022-03-16 10:24:19 · 982 阅读 · 1 评论 -
appium运行报错Could not parse activity from dumpsys
appium运行报错:Could not parse activity from dumpsysSessionNotCreatedException: A new session could not be created. (Original error: Could not parse activity from dumpsys)原因是appim没有使用最新版本1.7.1https://github.com/appium/appium-desktop/releases/tag/v1.2.6或这个原创 2022-03-16 10:16:37 · 552 阅读 · 0 评论 -
Android8.0以上,打开uiautomatorviewer.bat,报错Unexpected error while obtaining Ul hierarchy
Android8.0以上,打开uiautomatorviewer.bat,报错android-sdk-windows\tools\lib目录中替换ddmlib、ddms、ddmuilib 、uiautomatorviewer链接:https://pan.baidu.com/s/1NV3YohZf45aRTV0xpqJEew提取码:7ctw替换完成后打开重新运行...原创 2022-03-15 14:16:38 · 2886 阅读 · 0 评论 -
第一个Appium的自动化脚本
第一个Appium的自动化脚本原创 2019-06-17 17:36:26 · 1852 阅读 · 0 评论