Share via


UITechnologyElementOption Enum

Definition

Identifies the options that are available in an IUITechnologyElement object where each name briefly describes the purpose of the value of the option it represents.

public enum class UITechnologyElementOption
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("5BCC3B77-DC67-4353-9786-596C367AFFA1")]
public enum UITechnologyElementOption
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("5BCC3B77-DC67-4353-9786-596C367AFFA1")>]
type UITechnologyElementOption = 
Public Enum UITechnologyElementOption
Inheritance
UITechnologyElementOption
Attributes

Fields

Name Value Description
None 0

No option.

SetMousePositionInstantly 1

If the value is true, the UI test framework instantly moves the mouse pointer inside this element. If false, the mouse pointer is moved to a point near the element and then slowly to the actual position. Moving the mouse instantly gives better performance, but moving it slowly guarantees that mouse enter or leave events are raised.

UseWaitForReadyLevelForElementReady 2

If true, the UI test framework will use the WaitForReadyOptions value for calls to the WaitForReady() method during playback, such as after scrolling, setting focus, or verification operations. If false, use the AllThreads flag.

PerformEnsureVisible 3

Used by the UI test framework if true or not supported, to ensure that the element is visible and clickable.

TrustGetValue 4

If true, the UI test framework uses the Value property in the playback algorithm.

TrustGetState 5

If true, the UI test framework uses the GetRequestedState(AccessibleStates) method in the playback algorithm.

UseSetFocusForEnsureVisible 6

Used by the UI test framework to determine whether to make sure that this element is visible when it receives focus. If true or not supported, the containing element is scrolled to make the element visible if this element receives focus.

UISynchronizationOptions 7

Used by the UI test framework to disable mouse or keyboard actions. The value is a member of the UISynchronizationOptions enumeration.

WaitForReadyOptions 8

The UI test framework uses the value of this option if the UseWaitForReadyLevelForElementReady value is true.

GetClickableRectangle 9

Used by the UI test framework to get the bounding coordinates that define the rectangle in which the framework should click. The value is an array of four int values (for left, top, width, and height).

GetClickablePointFrom 10

Used by the UI test framework to get a value that indicates whether the clickable point is provided by the technology or should be obtained by the framework that uses its default algorithm. The value is a member of the GetClickablePointFromOption enumeration.

SetValueAsComboBoxOptions 51

Used by the UI test framework to get the flags to use when it sets the value of a combo box. The expected value is a SetValueAsComboBoxOptions object.

SetValueAsEditBoxOptions 52

Used by the UI test framework to get the flags to use when setting the value of an text box. The expected value is a SetValueAsEditBoxOptions object.

ScrollOptions 53

Used by the UI test framework to get the flags for scrolling operations. The expected value is a ScrollOptions object.

ExpandCollapseOptions 54

Used by the UI test framework to get or set a value for expanding or collapsing tree items or menus. The value is a member of the ExpandCollapseOptions enumeration.

Applies to