Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UITechnologyElement Methods

 

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

NameDescription
System_CAPS_pubmethodCacheProperties()

Caches all the common properties of this element for future use.

System_CAPS_pubmethodEnsureVisibleByScrolling(Int32, Int32, Int32, Int32)

Scrolls this element into view in the UI.

System_CAPS_pubmethodEquals(IUITechnologyElement)

Returns a value that indicates whether the provided object is equal to this element.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetBoundingRectangle(Int32, Int32, Int32, Int32)

Returns the coordinates of the rectangle that encloses this element.

System_CAPS_pubmethodGetClickablePoint(Int32, Int32)

Gets a clickable point for this element.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetNativeControlType(NativeControlTypeKind)

Returns the native control type of this element.

System_CAPS_pubmethodGetOption(UITechnologyElementOption)

Returns the specified option for this element.

System_CAPS_pubmethodGetPropertyValue(String)

Returns the value of the specified property for this element.

System_CAPS_pubmethodGetQueryIdForRelatedElement(UITestElementKind, Object, Int32)

Returns the query ID for a related element.

System_CAPS_pubmethodGetRequestedState(AccessibleStates)

Returns the current state information for the given requested states for this element.

System_CAPS_pubmethodGetRightToLeftProperty(RightToLeftKind)

Returns a value that indicates whether this element has the specified kind of left-to-right format.

System_CAPS_pubmethodGetScrolledPercentage(ScrollDirection, IUITechnologyElement)

Returns the amount that is scrolled as a percentage of the size of the scrollbar.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeProgrammaticScroll()

Initializes this element for programmatic scrolling.

System_CAPS_pubmethodInvokeProgrammaticAction(ProgrammaticActionOption)

Performs programmatic action by using the provided option.

System_CAPS_pubmethodIsInteractable()

Checks if the element is visible and interactable at this instance.

The plugins should overload this generic implementation to be more accurate and performant.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodPerformKeyboardAction(String)

System_CAPS_pubmethodPerformMouseAction(String)

System_CAPS_pubmethodScrollProgrammatically(ScrollDirection, ScrollAmount)

Programmatically scrolls this element by using the provided direction and an indication of the amount.

System_CAPS_pubmethodSetFocus()

Sets the UI focus on this element.

System_CAPS_pubmethodSetOption(UITechnologyElementOption, Object)

Sets the value of the specified option in this element.

System_CAPS_pubmethodSetPropertyValue(String, Object)

Performs a SetProperty action

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodWaitForReady()

Waits for this element to be ready for user action.

Return to top
Show: