Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IUITechnologyManager Interface

 

This API supports the product 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)

[GuidAttribute("1984584A-4C77-488a-BD8B-3D7FE868F5B8")]
[ComVisibleAttribute(true)]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IUITechnologyManager

NameDescription
System_CAPS_pubpropertyTechnologyName

Gets the name of the technology.

NameDescription
System_CAPS_pubmethodAddEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)

Adds an event handler.

System_CAPS_pubmethodCancelStep()

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

System_CAPS_pubmethodConvertToThisTechnology(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.

System_CAPS_pubmethodGetChildren(IUITechnologyElement, Object)

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

System_CAPS_pubmethodGetControlSupportLevel(IntPtr)

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

System_CAPS_pubmethodGetElementFromNativeElement(Object)

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

System_CAPS_pubmethodGetElementFromPoint(Int32, Int32)

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

System_CAPS_pubmethodGetElementFromWindowHandle(IntPtr)

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

System_CAPS_pubmethodGetFocusedElement(IntPtr)

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

System_CAPS_pubmethodGetLastInvocationInfo()

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

System_CAPS_pubmethodGetNextSibling(IUITechnologyElement)

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

System_CAPS_pubmethodGetParent(IUITechnologyElement)

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

System_CAPS_pubmethodGetPreviousSibling(IUITechnologyElement)

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

System_CAPS_pubmethodGetSynchronizationWaiter(IUITechnologyElement, UITestEventType)

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

System_CAPS_pubmethodGetTechnologyManagerProperty(UITechnologyManagerProperty)

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

System_CAPS_pubmethodMatchElement(IUITechnologyElement, Object, Boolean)

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

System_CAPS_pubmethodParseQueryId(String, Object)

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

System_CAPS_pubmethodRemoveEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)

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

System_CAPS_pubmethodSearch(Object, IUITechnologyElement, Int32)

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

System_CAPS_pubmethodSetTechnologyManagerProperty(UITechnologyManagerProperty, Object)

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

System_CAPS_pubmethodStartSession(Boolean)

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

System_CAPS_pubmethodStopSession()

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

Return to top
Show: