IUITechnologyElement Interface
Provides an internal interface to implement the UITechnologyElement class. Do not implement this interface directly. Instead, derive from the UITechnologyElement class.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
<GuidAttribute("1FED2CD2-C6B1-4AF3-91D8-BC8B1CC388C0")> _
<ComVisibleAttribute(True)> _
Public Interface IUITechnologyElement
[GuidAttribute("1FED2CD2-C6B1-4AF3-91D8-BC8B1CC388C0")]
[ComVisibleAttribute(true)]
public interface IUITechnologyElement
[GuidAttribute(L"1FED2CD2-C6B1-4AF3-91D8-BC8B1CC388C0")]
[ComVisibleAttribute(true)]
public interface class IUITechnologyElement
[<GuidAttribute("1FED2CD2-C6B1-4AF3-91D8-BC8B1CC388C0")>]
[<ComVisibleAttribute(true)>]
type IUITechnologyElement = interface end
public interface IUITechnologyElement
The IUITechnologyElement type exposes the following members.
Properties
Name | Description | |
---|---|---|
ChildIndex | Gets the zero-based position of this element in the collection of child elements in the parent element. | |
ClassName | Gets the class name for this element. | |
ControlTypeName | Gets the name of the control type for this element. | |
FriendlyName | Gets the friendly name of this element. | |
IsLeafNode | Gets a value that indicates whether this element is a leaf node, which means it has no children. | |
IsPassword | Gets a value that indicates whether this element contains protected content. | |
IsTreeSwitchingRequired | Gets a value that indicates whether tree switching is required for windowless tree switching cases. | |
Name | Gets the name of this element. | |
NativeElement | Gets the underlying native technology element. | |
QueryId | Gets an identifier object that can be used to uniquely identify and find this element. | |
SwitchingElement | Gets or sets the container element if this element is hosted inside an element of another technology. | |
TechnologyName | Gets the name of the corresponding technology of this element. | |
Value | Gets or sets the value of this element as a string. | |
WindowHandle | Gets the handle to the Win32 window that contains this element. |
Top
Methods
Name | Description | |
---|---|---|
EnsureVisibleByScrolling | Scrolls this element into view in the UI. | |
Equals | Returns a value that indicates whether the provided object is equal to this element. | |
GetBoundingRectangle | Returns the coordinates of the rectangle that encloses this element. | |
GetClickablePoint | Gets a clickable point for this element. | |
GetNativeControlType | Returns the native control type of this element. | |
GetOption | Returns the specified option for this element. | |
GetPropertyValue | Returns the value of the specified property for this element. | |
GetQueryIdForRelatedElement | ||
GetRequestedState | Returns the current state information for the given requested states for this element. | |
GetRightToLeftProperty | Returns a value that indicates whether this element has the specified kind of left-to-right format. | |
GetScrolledPercentage | Returns the amount that is scrolled as a percentage of the size of the scrollbar. | |
InitializeProgrammaticScroll | Initializes this element for programmatic scrolling. | |
InvokeProgrammaticAction | Performs programmatic action by using the provided option. | |
ScrollProgrammatically | ||
SetFocus | Sets the UI focus on this element. | |
SetOption | Sets the value of the specified option in this element. | |
WaitForReady | Waits for this element to be ready for user action. |
Top
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Extension Namespace
Other Resources
Extending Coded UI Tests and Action Recordings to Support Microsoft Excel