UITechnologyElementOption Enumeration

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.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<GuidAttribute("5BCC3B77-DC67-4353-9786-596C367AFFA1")> _
Public Enumeration UITechnologyElementOption
[ComVisibleAttribute(true)]
[GuidAttribute("5BCC3B77-DC67-4353-9786-596C367AFFA1")]
public enum UITechnologyElementOption
[ComVisibleAttribute(true)]
[GuidAttribute(L"5BCC3B77-DC67-4353-9786-596C367AFFA1")]
public enum class UITechnologyElementOption
[<ComVisibleAttribute(true)>]
[<GuidAttribute("5BCC3B77-DC67-4353-9786-596C367AFFA1")>]
type UITechnologyElementOption
public enum UITechnologyElementOption

Members

Member name Description
ExpandCollapseOptions 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.
GetClickablePointFrom 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.
GetClickableRectangle 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).
None No option.
PerformEnsureVisible Used by the UI test framework if true or not supported, to ensure that the element is visible and clickable.
ScrollOptions Used by the UI test framework to get the flags for scrolling operations. The expected value is a ScrollOptions object.
SetMousePositionInstantly 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.
SetValueAsComboBoxOptions 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 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.
TrustGetState If true, the UI test framework uses the GetRequestedState method in the playback algorithm.
TrustGetValue If true, the UI test framework uses the Value property in the playback algorithm.
UISynchronizationOptions Used by the UI test framework to disable mouse or keyboard actions. The value is a member of the UISynchronizationOptions enumeration.
UseSetFocusForEnsureVisible 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.
UseWaitForReadyLevelForElementReady 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.
WaitForReadyOptions The UI test framework uses the value of this option if the UseWaitForReadyLevelForElementReady value is true.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITechnologyElement

ExpandCollapseOptions

ScrollOptions

WaitForReady