microsoft avatar

Winui Ui Testing

Automates WinUI 3 testing by generating a PowerShell script that runs all your UI assertions in one pass instead of manually clicking through the app every time. You get element existence checks, navigation flows, value assertions for TextBox/ComboBox/ToggleSwitch, file picker handling, and an accessibility audit that flags missing AutomationIds. The workflow is straightforward: if you wrote the code, skip inspection and write tests directly from your XAML knowledge. If you're verifying someone else's work, run inspect first to map the UI tree. Results dump to JSON with pass/fail counts and screenshots at each state. It's the difference between spending five minutes per test cycle versus thirty seconds, and you get a reusable test suite out of it.

skills.sh installs
201
GitHub stars
503
last updated
Jun 3, 2026

Install

$ npx -y skills add microsoft/win-dev-skills --skill winui-ui-testing --agent claude-code

Installs into .claude/skills of the current project.

Files

Automates WinUI 3 testing by generating a PowerShell script that runs all your UI assertions in one pass instead of manually clicking through the app every time. You get element existence checks, navigation flows, value assertions for TextBox/ComboBox/ToggleSwitch, file picker handling, and an accessibility audit that flags missing AutomationIds. The workflow is straightforward: if you wrote the code, skip inspection and write tests directly from your XAML knowledge. If you're verifying someone else's work, run inspect first to map the UI tree. Results dump to JSON with pass/fail counts and screenshots at each state. It's the difference between spending five minutes per test cycle versus thirty seconds, and you get a reusable test suite out of it.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/microsoft/win-dev-skills
Categories
Frontend Development, Testing & QA, Automation & Workflows, Design & UI/UX
License
MIT
First seen
Jun 11, 2026

More from microsoft/win-dev-skills

All 9
1charleswiltgen avataraxiom-ui-testingcharleswiltgen/axiomUse when writing UI tests, recording interactions, tests have race conditions, timing dependencies, inconsistent pass/fail behavior, or XCTest UI tests are flak199skills.sh installs
2dralgorhythm avatarreact-native-reanimateddralgorhythm/claude-agentic-frameworkReact Native Reanimated 4.x animation patterns. Use when adding animations, transitions, entering/exiting effects, or gesture-driven animations to React Native 199skills.sh installs
3oguzhan18 avatarangular-animationsoguzhan18/angular-ecosystem-skillsConfigure Angular animations with triggers, transitions, keyframes, and reusable animation functions. Use when working with Angular enter/leave animations, UI t194skills.sh installs
4oguzhan18 avatarangular-i18noguzhan18/angular-ecosystem-skillsALWAYS use when working with Angular i18n, internationalization, localization, translations, or multi-language support in Angular applications.194skills.sh installs
5oguzhan18 avatarangular-servicesoguzhan18/angular-ecosystem-skillsALWAYS use when working with Angular Services, @Injectable, dependency injection, or business logic services.193skills.sh installs
6allenai2014 avatarpencil-ui-designallenai2014/pencil-ui-design使用 Pencil MCP 创建工业级 UI 设计的完整工作流和组件库192skills.sh installs