Delen via


IUITechnologyManager Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Provides an internal interface to implement the UITechnologyManager class. Do not implement this interface directly. Instead, derive from the UITechnologyManager class.

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

Syntax

'Declaration
<GuidAttribute("1984584A-4C77-488a-BD8B-3D7FE868F5B8")> _
<ComVisibleAttribute(True)> _
Public Interface IUITechnologyManager
[GuidAttribute("1984584A-4C77-488a-BD8B-3D7FE868F5B8")]
[ComVisibleAttribute(true)]
public interface IUITechnologyManager
[GuidAttribute(L"1984584A-4C77-488a-BD8B-3D7FE868F5B8")]
[ComVisibleAttribute(true)]
public interface class IUITechnologyManager
[<GuidAttribute("1984584A-4C77-488a-BD8B-3D7FE868F5B8")>]
[<ComVisibleAttribute(true)>]
type IUITechnologyManager =  interface end
public interface IUITechnologyManager

The IUITechnologyManager type exposes the following members.

Properties

  Name Description
Public property TechnologyName Gets the name of the technology.

Top

Methods

  Name Description
Public method AddEventHandler Adds an event handler.
Public method CancelStep Cancels any wait or search operation that is performed by this technology manager.
Public method ConvertToThisTechnology Takes an element from another technology and returns an element that is compatible for the current technology, together with the level of support that it has for the converted element.
Public method GetChildren Returns an enumerator for the child elements in the given element.
Public method GetControlSupportLevel Returns the indication of confidence for this technology manager that it can support the control that is identified with the provided handle.
Public method GetElementFromNativeElement Returns an element from this technology that corresponds to the provided native element.
Public method GetElementFromPoint Retrieves the element that is located at the given screen coordinates.
Public method GetElementFromWindowHandle Retrieves the element that is identified by the provided window handle.
Public method GetFocusedElement Returns the windows pointer for the element that currently has the focus.
Public method GetLastInvocationInfo Returns information about the last test action that was invoked by this manager.
Public method GetNextSibling Returns the next sibling of the given element in the UI hierarchy.
Public method GetParent Gets the parent of the given element in the UI hierarchy.
Public method GetPreviousSibling Returns the previous sibling of the given element in the UI hierarchy.
Public method GetSynchronizationWaiter Returns an IUISynchronizationWaiter by using the provided element and event type.
Public method GetTechnologyManagerProperty Returns the value of the given property of this technology manager.
Public method MatchElement Returns a value that indicates whether the provided element matches the previously parsed query ID cookie.
Public method ParseQueryId Parses the provided string representation of a query element and returns a string representation of the query element as a cookie.
Public method RemoveEventHandler Removes the specified event from the given element and all its descendents.
Public method Search Searches for an element in the parent element that matches the condition of the provided query ID cookie.
Public method SetTechnologyManagerProperty When implemented in a derived class, sets the value of the given property in this technology manager.
Public method StartSession Performs any initialization that is required by this technology manager to start a session.
Public method StopSession Performs any cleanup that is required by this technology manager to stop the current session.

Top

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

UITechnologyManager