windows-desktop-e2e - Windows 原生桌面应用端到端测试
使用 pywinauto 和 Windows UI Automation 为 WPF、WinForms、Win32/MFC 与 Qt 原生桌面应用编写和运行端到端测试。
标签
更新于: 2026-11-09能力
典型输入
典型输出
该技能可以做什么
- 编写 Windows 桌面端到端测试
- 运行 pywinauto UIA 测试
- 检查 UIA 元素树
- 创建页面对象模型
- 诊断不稳定的自动化测试
- 捕获失败截图
- 将桌面端到端测试集成到 CI/CD
输入
- Windows 应用可执行文件路径
- 主窗口标题
- 测试凭据
- 测试用例
- 构件目录
输出
- 测试结果
- HTML 测试报告
- 失败截图
- 应用启动和退出状态
要求
- Windows 操作系统
- Python 3.8 或更高版本
- 支持 UIA 后端的 pywinauto
- pytest 及所需插件
- Windows UI Automation 支持
- 启动目标应用的权限
