ui_key_sequence
Send keyboard key sequences with modifiers to UI elements and report cleanup evidence, including correct expansion of WPF menu hierarchies.
Instructions
Send keys while holding modifiers and report cleanup evidence.
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 |