LogoClawIndex
案例技能关于
LogoClawIndex

windows-desktop-e2e - 使用 UI Automation 测试 Windows 桌面应用

通过 pywinauto 和 Windows UI Automation 为 Windows 原生桌面应用提供基于 pytest 的端到端测试。

标签

更新于: 2026-11-08

能力

典型输入

典型输出

该技能可以做什么

  • 编写 pywinauto 端到端测试
  • 运行桌面 pytest 测试
  • 检查 UIA 元素树
  • 按 AutomationId 定位控件
  • 捕获失败截图
  • 诊断不稳定的自动化测试

输入

  • 目标应用程序可执行文件
  • 应用程序窗口标题
  • 测试场景
  • UIA 控件元数据
  • 测试配置值

输出

  • pytest 测试结果
  • HTML 测试报告
  • 失败截图
  • 测试产物
  • 应用测试状态

要求

  • Windows 操作系统
  • Python 3.8 或更高版本
  • pywinauto 包
  • pytest 包
  • pytest-html 包
  • Pillow 包
  • pytest-timeout 包
  • Windows UI Automation 可用

来源

  • 规范: SKILL.md

ClawIndex

OpenClaw Skills 与 Use Case 索引

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

索引

Skills·
Cases

Meta

关于·
声明·
邮箱·
GitHub
© 2026 ClawIndex 保留所有权利。
Windows 桌面测试
端到端测试
pywinauto
UI Automation
pytest
WPF
WinForms
Win32
MFC
Qt
编写 pywinauto 端到端测试
运行桌面 pytest 测试
检查 UIA 元素树
按 AutomationId 定位控件
目标应用程序可执行文件
应用程序窗口标题
测试场景
pytest 测试结果
HTML 测试报告
失败截图