Appium Inspector使用教程

1.下载最新版本

https://github.com/appium/appium-inspector/releases

2.本地启动一个Appium服务

若Android SDK已安装Appium服务,则在任意terminal使用appium启动服务即可

3.Appium Inspector客户端配置连接到Appium服务

Configuring and Starting a Session - Appium Inspector

配置样例

复制代码
{
  "platformName": "Android",
  "appium:appPackage": "ai.edalearning.app",
  "appium:appActivity": "com.nd.smartcan.appfactory.demo.SplashActivity",
  "appium:automationName": "UiAutomator2",
  "appium:noReset": false
}

踩坑:appActivity被写成androidActivity,导致服务器一直返回500,查看服务器窗口发现报错日志 定位到该问题

AndroidUiautomator2Driver@1405\] The following provided capabilities were not recognized by this driver: \[AndroidUiautomator2Driver@1405\] androidActivity

相关推荐
工头阿乐14 天前
Appium自动化开发环境搭建
运维·appium·自动化
ronindong17 天前
Android自动化功能-使用Appium获取android页面节点元素信息
android·appium·自动化
一只小H呀の20 天前
移动自动化测试-appium
appium
w1351106915023 天前
一、Appium环境安装
appium
测试19981 个月前
Appium如何实现移动端UI自动化测试?
自动化测试·软件测试·python·测试工具·职场和发展·appium·测试用例
一直开心1 个月前
Appium的学习总结-Inspector参数设置和界面使用(5)
appium·inspector
程序员的世界你不懂1 个月前
从定义、原理、环境搭建、安装问题排查等深入了解Appium
经验分享·百度·appium
niuniu_6661 个月前
安全性测试(Security Testing)
测试工具·单元测试·appium·测试·安全性测试
niuniu_6661 个月前
appium应用测试场景
功能测试·selenium·测试工具·appium·测试
suimeng61 个月前
Appium中元素定位的注意点
appium