windows-desktop-e2e - 端到端测试 Windows 原生桌面应用
使用 pywinauto 和 Windows UI Automation 为 WPF、WinForms、Win32/MFC 及 Qt 桌面应用创建并运行端到端测试。
标签
更新于: 2026-11-08能力
典型输入
典型输出
该技能可以做什么
- 编写 pywinauto 端到端测试
- 检查 UIA 元素树
- 按 AutomationId 定位控件
- 等待界面状态变化
- 捕获失败截图
- 集成 CI/CD 测试
- 诊断不稳定自动化测试
输入
- Windows 原生桌面应用
- 应用可执行文件路径
- 主窗口标题
- UIA 控件属性
- 测试数据
输出
- Python pytest 端到端测试文件
- HTML 测试报告
- 失败截图
- 应用测试状态
要求
- Windows 操作系统
- Python 3.8 或更高版本
- pywinauto 软件包
- pytest 软件包
- pytest-html 软件包
- Pillow 软件包
- pytest-timeout 软件包
- Windows UI Automation 支持
