windows-desktop-e2e - 端到端测试 Windows 原生桌面应用
使用 pywinauto 和 Windows UI Automation 对 WPF、WinForms、Win32/MFC 及 Qt 桌面应用执行端到端测试。
标签
更新于: 2026-11-08能力
典型输入
典型输出
该技能可以做什么
- 运行桌面端到端测试
- 搭建 GUI 测试套件
- 检查 UIA 元素树
- 按 AutomationId 定位控件
- 等待界面状态
- 捕获失败截图
- 生成 HTML 测试报告
输入
- Windows 桌面应用可执行文件
- 应用窗口标题
- 测试配置
- 测试用例
- AutomationId 值
输出
- 测试通过或失败状态
- HTML 测试报告
- 失败截图
- 测试产物
- 应用启动和退出状态
要求
- Windows 操作系统
- Python 3.8 或更高版本
- pywinauto 软件包
- pytest 软件包
- pytest-html 软件包
- Pillow 软件包
- pytest-timeout 软件包
- Windows UI Automation 支持
