Partager via


UITechnologyElement Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ComVisibleAttribute(True)> _
<GuidAttribute("630624E3-24CA-4059-8D78-DC5E2710F945")> _
Public MustInherit Class UITechnologyElement _
    Implements IUITechnologyElement
[ComVisibleAttribute(true)]
[GuidAttribute("630624E3-24CA-4059-8D78-DC5E2710F945")]
public abstract class UITechnologyElement : IUITechnologyElement
[ComVisibleAttribute(true)]
[GuidAttribute(L"630624E3-24CA-4059-8D78-DC5E2710F945")]
public ref class UITechnologyElement abstract : IUITechnologyElement
[<AbstractClass>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("630624E3-24CA-4059-8D78-DC5E2710F945")>]
type UITechnologyElement =  
    class 
        interface IUITechnologyElement 
    end
public abstract class UITechnologyElement implements IUITechnologyElement

The UITechnologyElement type exposes the following members.

Constructors

  Name Description
Protected method UITechnologyElement

Top

Properties

  Name Description
Public property ChildIndex
Public property ClassName
Public property ControlTypeName
Public property FriendlyName
Public property IsLeafNode
Public property IsPassword
Public property IsTreeSwitchingRequired
Public property Name
Public property NativeElement
Public property QueryId
Public property SupportLevel
Public property SwitchingElement
Public property TechnologyManager
Public property TechnologyName
Public property TopLevelElement
Public property Value
Public property WindowHandle
Public property WindowTitles

Top

Methods

  Name Description
Public method CacheProperties
Public method EnsureVisibleByScrolling
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Equals(IUITechnologyElement)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBoundingRectangle
Public method GetClickablePoint
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetNativeControlType
Public method GetOption
Public method GetPropertyValue
Public method GetQueryIdForRelatedElement
Public method GetRequestedState
Public method GetRightToLeftProperty
Public method GetScrolledPercentage
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeProgrammaticScroll
Public method InvokeProgrammaticAction
Public method IsInteractable
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PerformKeyboardAction
Public method PerformMouseAction
Public method ScrollProgrammatically
Public method SetFocus
Public method SetOption
Public method SetPropertyValue Performs a SetProperty action
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WaitForReady

Top

Fields

  Name Description
Public fieldStatic member AllAccessibleStates

Top

Remarks

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

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace