Export (0) Print
Expand All
Expand Minimize

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)

[ComVisibleAttribute(true)]
[GuidAttribute("5BCC3B77-DC67-4353-9786-596C367AFFA1")]
public enum UITechnologyElementOption

Member nameDescription
NoneNo option.
SetMousePositionInstantlyIf 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.
UseWaitForReadyLevelForElementReadyIf 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.
PerformEnsureVisibleUsed by the UI test framework if true or not supported, to ensure that the element is visible and clickable.
TrustGetValueIf true, the UI test framework uses the Value property in the playback algorithm.
TrustGetStateIf true, the UI test framework uses the GetRequestedState method in the playback algorithm.
UseSetFocusForEnsureVisibleUsed 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.
UISynchronizationOptionsUsed by the UI test framework to disable mouse or keyboard actions. The value is a member of the UISynchronizationOptions enumeration.
WaitForReadyOptionsThe UI test framework uses the value of this option if the UseWaitForReadyLevelForElementReady value is true.
GetClickableRectangleUsed 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).
GetClickablePointFromUsed 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.
SetValueAsComboBoxOptionsUsed 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.
SetValueAsEditBoxOptionsUsed 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.
ScrollOptionsUsed by the UI test framework to get the flags for scrolling operations. The expected value is a ScrollOptions object.
ExpandCollapseOptionsUsed 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.

Community Additions

ADD
Show:
© 2014 Microsoft