We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

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)

type IUITechnologyManager =  interface end

The IUITechnologyManager type exposes the following members.

Public propertyTechnologyNameGets the name of the technology.

Public methodAddEventHandlerAdds an event handler.
Public methodCancelStepCancels any wait or search operation that is performed by this technology manager.
Public methodConvertToThisTechnologyTakes 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 methodGetChildrenReturns an enumerator for the child elements in the given element.
Public methodGetControlSupportLevelReturns the indication of confidence for this technology manager that it can support the control that is identified with the provided handle.
Public methodGetElementFromNativeElementReturns an element from this technology that corresponds to the provided native element.
Public methodGetElementFromPointRetrieves the element that is located at the given screen coordinates.
Public methodGetElementFromWindowHandleRetrieves the element that is identified by the provided window handle.
Public methodGetFocusedElementReturns the windows pointer for the element that currently has the focus.
Public methodGetLastInvocationInfoReturns information about the last test action that was invoked by this manager.
Public methodGetNextSiblingReturns the next sibling of the given element in the UI hierarchy.
Public methodGetParentGets the parent of the given element in the UI hierarchy.
Public methodGetPreviousSiblingReturns the previous sibling of the given element in the UI hierarchy.
Public methodGetSynchronizationWaiterReturns an IUISynchronizationWaiter by using the provided element and event type.
Public methodGetTechnologyManagerPropertyReturns the value of the given property of this technology manager.
Public methodMatchElementReturns a value that indicates whether the provided element matches the previously parsed query ID cookie.
Public methodParseQueryIdParses the provided string representation of a query element and returns a string representation of the query element as a cookie.
Public methodRemoveEventHandlerRemoves the specified event from the given element and all its descendents.
Public methodSearchSearches for an element in the parent element that matches the condition of the provided query ID cookie.
Public methodSetTechnologyManagerPropertyWhen implemented in a derived class, sets the value of the given property in this technology manager.
Public methodStartSessionPerforms any initialization that is required by this technology manager to start a session.
Public methodStopSessionPerforms any cleanup that is required by this technology manager to stop the current session.