Share via


IUITechnologyManager Interface

Definition

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

public interface class IUITechnologyManager
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("1984584A-4C77-488a-BD8B-3D7FE868F5B8")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IUITechnologyManager
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("1984584A-4C77-488a-BD8B-3D7FE868F5B8")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IUITechnologyManager = interface
Public Interface IUITechnologyManager
Derived
Attributes

Properties

TechnologyName

Gets the name of the technology.

Methods

AddEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)

Adds an event handler.

CancelStep()

Cancels any wait or search operation that is performed by this technology manager.

ConvertToThisTechnology(IUITechnologyElement, Int32)

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.

GetChildren(IUITechnologyElement, Object)

Returns an enumerator for the child elements in the given element.

GetControlSupportLevel(IntPtr)

Returns the indication of confidence for this technology manager that it can support the control that is identified with the provided handle.

GetElementFromNativeElement(Object)

Returns an element from this technology that corresponds to the provided native element.

GetElementFromPoint(Int32, Int32)

Retrieves the element that is located at the given screen coordinates.

GetElementFromWindowHandle(IntPtr)

Retrieves the element that is identified by the provided window handle.

GetFocusedElement(IntPtr)

Returns the windows pointer for the element that currently has the focus.

GetLastInvocationInfo()

Returns information about the last test action that was invoked by this manager.

GetNextSibling(IUITechnologyElement)

Returns the next sibling of the given element in the UI hierarchy.

GetParent(IUITechnologyElement)

Gets the parent of the given element in the UI hierarchy.

GetPreviousSibling(IUITechnologyElement)

Returns the previous sibling of the given element in the UI hierarchy.

GetSynchronizationWaiter(IUITechnologyElement, UITestEventType)

Returns an IUISynchronizationWaiter by using the provided element and event type.

GetTechnologyManagerProperty(UITechnologyManagerProperty)

Returns the value of the given property of this technology manager.

MatchElement(IUITechnologyElement, Object, Boolean)

Returns a value that indicates whether the provided element matches the previously parsed query ID cookie.

ParseQueryId(String, Object)

Parses the provided string representation of a query element and returns a string representation of the query element as a cookie.

RemoveEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)

Removes the specified event from the given element and all its descendents.

Search(Object, IUITechnologyElement, Int32)

Searches for an element in the parent element that matches the condition of the provided query ID cookie.

SetTechnologyManagerProperty(UITechnologyManagerProperty, Object)

When implemented in a derived class, sets the value of the given property in this technology manager.

StartSession(Boolean)

Performs any initialization that is required by this technology manager to start a session.

StopSession()

Performs any cleanup that is required by this technology manager to stop the current session.

Applies to