winui-ui-testing
Pass
Audited by Gen Agent Trust Hub on May 20, 2026
Risk Level: SAFE
Full Analysis
- Local Script Generation and Execution: The skill generates a local PowerShell script (
ui-tests.ps1) to automate UI tests. This script uses thewinappCLI to interact with application elements. This is a common pattern for testing tools and is used here to create a repeatable test record. - Local Resource Management: The instructions include capturing screenshots and writing test results to local files (
test-results.json). These operations are used for reporting purposes within the developer's local environment. - Process-Level Interaction: The skill demonstrates how to interact with different processes, such as handling file pickers in
PickerHostor targeting the application via its PID. This is consistent with the technical requirements of WinUI 3 automation. - UI Discovery Patterns: The skill suggests reading XAML files and using the
winapp ui inspectcommand to discover AutomationIds. This approach promotes reliable testing practices by utilizing stable element identifiers.
Audit Metadata