Windows Dev Center

IUIAutomation2 interface

Extends the IUIAutomation interface to expose additional methods for controlling Microsoft UI Automation functionality.

When to implement

UI Automation client applications do not implement IUIAutomation2.

Members

The IUIAutomation2 interface inherits from IUIAutomation. IUIAutomation2 also has these types of members:

Properties

The IUIAutomation2 interface has these properties.

PropertyAccess typeDescription

AutoSetFocus

Read/write

Specifies whether calls to UI Automation control pattern methods automatically set focus to the target element.

ConnectionTimeout

Read/write

Specifies the length of time that UI Automation will wait for a provider to respond to a client request for an automation element.

TransactionTimeout

Read/write

Specifies the length of time that UI Automation will wait for a provider to respond to a client request for information about an automation element.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

DLL

UIAutomationCore.dll

IID

IID_IUIAutomation2 is defined as 34723aff-0c9d-49d0-9896-7ab52df8cd8a

See also

IUIAutomation
UI Automation Element Interfaces for Clients

 

 

Community Additions

ADD
Show:
© 2015 Microsoft