MSDN Library
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 Class

 

The abstract base class for implementing UITest technology element for recorder and playback.

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

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
    Microsoft.VisualStudio.TestTools.UITesting.UITechnologyElementProxy

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_protmethodUITechnologyElement()

Initializes a new instance of the UITechnologyElement class.

NameDescription
System_CAPS_pubpropertyAutomationElement

System_CAPS_pubpropertyChildIndex

Gets the zero-based position in the collection of child elements of the parent element.

System_CAPS_pubpropertyClassName

Gets the class name of this element as assigned by the developer.

System_CAPS_pubpropertyControlTypeName

Gets the universal control type of this element.

System_CAPS_pubpropertyFriendlyName

Gets the friendly name for this element for display in the user interface.

System_CAPS_pubpropertyIsLeafNode

Gets a value that indicates whether this element is a leaf node, which means that it has no children.

System_CAPS_pubpropertyIsPassword

Gets a value that indicates whether this element contains protected content.

System_CAPS_pubpropertyIsTreeSwitchingRequired

Gets a value that indicates whether tree switching is required for windowless tree switching cases.

System_CAPS_pubpropertyName

Gets the name of this element.

System_CAPS_pubpropertyNativeElement

Gets the underlying native technology element, such as IAccessible, that corresponds to this element.

System_CAPS_pubpropertyQueryId

Gets an identifier object that can be used to uniquely identify and find this element.

System_CAPS_pubpropertySupportLevel

Gets a value that is used by the test recording and playback engine to find a matching UITechnologyManager for this element.

System_CAPS_pubpropertySwitchingElement

Gets or sets the container element if this element is hosted inside an element of another technology. This API supports the test framework infrastructure and is not intended to be used directly from your code.

System_CAPS_pubpropertyTechnologyManager

Gets the current technology manager.

System_CAPS_pubpropertyTechnologyName

Gets the name of the corresponding technology of this element.

System_CAPS_pubpropertyTopLevelElement

Gets or sets the top-level window for this element.

System_CAPS_pubpropertyValue

Gets or sets the value of this element as a string.

System_CAPS_pubpropertyWindowHandle

Gets the handle to the Win32 window that contains this element.

System_CAPS_pubpropertyWindowTitles

Gets a list of the top-level window titles, of which one is the ancestor of this element.

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.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticAllAccessibleStates

A constant value that indicates all states that can be accessed.

No content here will be updated; please do not add material here.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft