SynchronizedInput Control Pattern

Describes guidelines and conventions for implementing ISynchronizedInputProvider, including information about properties and methods. The SynchronizedInput control pattern enables Microsoft UI Automation client applications to direct the mouse or keyboard input to a specific UI element.

This control pattern is typically used in automated test scripts to send mouse or keyboard input to a specific user-interface element, and then verify that the element received the input.

This topic contains the following sections.

Implementation Guidelines and Conventions

When implementing the SynchronizedInput control pattern, note the following guidelines and conventions:

Required Members for ISynchronizedInputProvider

The following properties, methods, and events are required for implementing the ISynchronizedInputProvider interface.

Required members Member type Notes
StartListening Method None
Cancel Method None
UIA_InputReachedTargetEventId Event None

 

UI Automation Control Patterns Overview