ui_key_sequence
Send key sequences with modifier keys held, then report cleanup evidence for GUI automation in WPF, WinForms, and Avalonia apps.
Instructions
Send keys while holding modifiers and report cleanup evidence.
keys accepts NUMPAD0 through NUMPAD9, NUMPADADD, NUMPADSUBTRACT,
NUMPADMULTIPLY, NUMPADDIVIDE, NUMPADDECIMAL, NUMPADENTER and NUMLOCK,
optionally enclosed in braces. NUMLOCK presses/releases the key; it does
not set a requested lock state. Physical delivery requires the FlaUI backend.
For WPF top-level MenuItem headers, scope the native ENTER key to the
parent, then rediscover the popup child after expansion and invoke its exact
child through a separate ui_invoke. Do not add a fixture-specific key
handler. Invoking the parent menu alone does not ensure submenu peers
materialize. Use pre/post UI oracles; a missing child after verified expansion
is a harness observation, not automatically a product defect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| name | No | ||
| xpath | No | ||
| root_id | No | ||
| modifiers | Yes | ||
| control_type | No | ||
| automation_id | No |