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.

UITechnologyElementProxy Properties

 

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

NameDescription
System_CAPS_pubpropertyAutomationElement
System_CAPS_pubpropertyChildIndex

Gets the 0-based position in the parent element's collection.(Overrides UITechnologyElement.ChildIndex.)

System_CAPS_pubpropertyClassName

Gets the class name of this element.(Overrides UITechnologyElement.ClassName.)

System_CAPS_pubpropertyControlTypeName

Gets the universal control type of this element.(Overrides UITechnologyElement.ControlTypeName.)

System_CAPS_pubpropertyFriendlyName

Gets the user-friendly name for this element like display text that will help the user to quickly recognize the element on the screen.(Overrides UITechnologyElement.FriendlyName.)

System_CAPS_pubpropertyIsLeafNode

Gets whether this element is a leaf node (that is does not have any children) or not.(Overrides UITechnologyElement.IsLeafNode.)

System_CAPS_pubpropertyIsPassword

Gets a value that indicates whether this element contains protected content or not.(Overrides UITechnologyElement.IsPassword.)

System_CAPS_pubpropertyIsTreeSwitchingRequired

Gets whether the tree switching is required for window-less tree switching cases.(Overrides UITechnologyElement.IsTreeSwitchingRequired.)

System_CAPS_pubpropertyName

Gets the name of this element.(Overrides UITechnologyElement.Name.)

System_CAPS_pubpropertyNativeElement

Gets the underlying native technology element (like IAccessible) corresponding this element.(Overrides UITechnologyElement.NativeElement.)

System_CAPS_pubpropertyQueryId

Gets a QueryId that can be used to uniquely identify/find this element.

In some cases, such as TreeItem, the QueryIds might contain the complete element hierarchy but most of the time it will contain only important ancestors of the element.

The technology manager must decide which ancestor to capture in the hierarchy by appropriately setting the QueryId.Ancestor property of each element.

The APIs in condition classes like AndCondition.ToString() and AndCondition.Parse() may be used to convert from this class to string or vice-versa.

EXT-PROTO1-NOTES: This QID also recursively converts all the ancestor core technology elements into the extension element and stitches the ancestor hierarchy appropriately.(Overrides UITechnologyElement.QueryId.)

System_CAPS_pubpropertySupportLevel

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

System_CAPS_pubpropertySwitchingElement

Gets or sets the container element if one technology is hosted inside another technology.

This is used by the framework.(Overrides UITechnologyElement.SwitchingElement.)

System_CAPS_pubpropertyTechnologyManager

Gets the corresponding technology manager.(Overrides UITechnologyElement.TechnologyManager.)

System_CAPS_pubpropertyTechnologyName

Gets the name of the corresponding technology.

This value should be same as UITechnologyManager.TechnologyName.(Overrides UITechnologyElement.TechnologyName.)

System_CAPS_pubpropertyTopLevelElement

Gets or sets the top level window corresponding to this element. The top level windows are typically children of desktop. If this is not set, the framework will set this to the top-most ancestor of the element (after ignoring the desktop as ancestor).(Overrides UITechnologyElement.TopLevelElement.)

System_CAPS_pubpropertyValue

Gets the value of this element.(Overrides UITechnologyElement.Value.)

System_CAPS_pubpropertyWindowHandle

Gets the handle to the Win32 window that contains this element.(Overrides UITechnologyElement.WindowHandle.)

System_CAPS_pubpropertyWindowTitles

Gets a list of the top-level window titles, of which one is the ancestor of this element.(Inherited from UITechnologyElement.)

Return to top
Show: