LogoClawIndex
案例技能关于
LogoClawIndex

ClawIndex

OpenClaw Skills 与 Use Case 索引

ClawIndex 是一个生态驱动的 OpenClaw Skills 与真实 Use Case 索引站。

索引

Skills·
Cases

Meta

关于·
声明·
邮箱·
GitHub
© 2026 ClawIndex 保留所有权利。

windows-desktop-e2e - 对 Windows 原生桌面应用进行端到端测试

使用 pywinauto 和 Windows UI Automation 为 WPF、WinForms、Win32/MFC 及 Qt 桌面应用创建、运行、诊断并集成端到端测试。

标签

更新于: 2026-11-08

能力

典型输入

典型输出

该技能可以做什么

  • 创建桌面端到端测试
  • 启动目标应用
  • 定位 UIA 控件
  • 操作用户界面控件
  • 等待界面状态
  • 检查 UIA 元素树
  • 捕获失败截图
  • 生成 HTML 测试报告
  • 集成 CI/CD 测试
  • 诊断不稳定自动化测试

输入

  • Windows 桌面应用可执行文件
  • 主窗口标题
  • 应用测试凭据
  • AutomationId 值
  • 测试数据
  • 环境变量设置

输出

  • 测试结果
  • HTML 测试报告
  • 失败截图
  • 按需截图
  • 屏幕录制文件
  • 测试日志
  • 应用界面状态变化

要求

  • Windows 操作系统
  • Python 3.8 或更高版本
  • 支持 UIA 后端的 pywinauto
  • pytest
  • pytest-html
  • Pillow
  • pytest-timeout
  • Windows UI Automation 支持
  • Accessibility Insights for Windows
  • 用于屏幕录制的 ffmpeg

来源

  • 规范: SKILL.md
Windows
桌面测试
端到端测试
pywinauto
UI 自动化
WPF
WinForms
Win32
MFC
Qt
pytest
CI/CD
创建桌面端到端测试
启动目标应用
定位 UIA 控件
操作用户界面控件
Windows 桌面应用可执行文件
主窗口标题
应用测试凭据
测试结果
HTML 测试报告
失败截图