How to use
- Copy the installation command and review the source package before installing it in your own agent environment.
- Check the source document for required tools, credentials and supported hosts.
- Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/eighteendreamer/ai_test_agent --skill appium-mobile-testingBefore you start
- Installation does not include a model subscription, API allowance or permission to access your files.
- Repository stars and installation counts describe activity, not an independent quality or security test.
Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.
Appium 移动端测试
先确认 Appium server、client、driver、平台版本、设备/模拟器、应用包和签名均真实可用;不得从候选资料推断执行环境。capability 和平台差异按需读取 references/source-1.md。
输入契约
确认平台/系统/设备矩阵、应用包、签名、启动参数、账号、权限、网络条件、Provider 和数据清理。
工作流程
- 定义平台、设备、系统版本、方向、语言和网络条件矩阵。
- 核对应用标识、启动 activity/bundle、权限、深链和账号前置条件。
- 优先使用 accessibility id 或稳定原生标识,避免坐标和脆弱层级 XPath。
- 等待可观察状态或 driver 条件,不以固定 sleep 解决同步问题。
- 每个用例声明安装/重置策略、数据清理、后台/前台和失败恢复。
- 采集设备日志、截图、页面源、视频和构建版本,关联到具体设备与步骤。
移动端门禁
- 优先 accessibility id/原生稳定标识,禁止坐标和易变 XPath。
- 等待可观察 UI/driver 状态,显式处理权限、键盘、前后台、旋转、深链和网络切换。
- 每个用例声明安装/重置、账号、数据、并行设备和失败恢复策略。
- 失败必须绑定设备、OS、Appium/driver、构建、步骤、日志和截图/视频。
输出
输出 capability/设备矩阵、场景、同步与状态策略、证据和缺失 Provider;无 Runner 时仅规划。
执行边界
当前没有已注册 Appium Runner/Provider 时,只做矩阵规划、代码审查和脚本建议;不得调用通用 shell 冒充移动端执行。
输出
报告所需 Provider、capability、场景、断言、清理和缺失执行条件。




