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.

UITechnologyManager Class

 

Provides an abstract base class for technology managers that is used during test recording and playback.

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

System.Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyManager
    Microsoft.VisualStudio.TestTools.UITesting.UITechnologyManagerProxy

[GuidAttribute("CAF9DAD2-AA2F-47ad-953A-C4596EB6A3E1")]
[ComVisibleAttribute(true)]
public abstract class UITechnologyManager : IUITechnologyManager

NameDescription
System_CAPS_protmethodUITechnologyManager()

Initializes a new instance of the UITechnologyManager class.

NameDescription
System_CAPS_pubpropertyTechnologyName

Gets the technology name.

NameDescription
System_CAPS_pubmethodAddEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)

Adds an event handler to this technology manager.

System_CAPS_pubmethodAddGlobalEventHandler(UITestEventType, IUITestEventNotify)

Adds a global event sink to this technology manager.

System_CAPS_pubmethodCancelStep()

Cancels any wait or search operation that is currently being performed by this technology manager because of calls to WaitForReady or Search.

System_CAPS_pubmethodConvertToThisTechnology(IUITechnologyElement, Int32)

Takes an element from another technology and returns an element that is compatible for the current technology, along with the level of support it has for the converted element.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetChildren(IUITechnologyElement, Object)

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

System_CAPS_pubmethodGetControlSupportLevel(AutomationElement)

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_pubmethodGetElementFromAutomationElement(AutomationElement, AutomationElement)

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_pubmethodGetElementFromPoint(Int32, Int32, AutomationElement)

System_CAPS_pubmethodGetElementFromWindowHandle(IntPtr)

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

System_CAPS_pubmethodGetFocusedElement(AutomationElement)

System_CAPS_pubmethodGetFocusedElement(IntPtr)

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

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

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_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMatchElement(IUITechnologyElement, Object, Boolean)

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

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

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_pubmethodProcessMouseEnter(IntPtr)

Processes the mouse enter event for the specified window or control.

System_CAPS_pubmethodRemoveEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)

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

System_CAPS_pubmethodRemoveGlobalEventHandler(UITestEventType, IUITestEventNotify)

Removes the specified event.

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 required by this technology manager to stop the current session.

System_CAPS_pubmethodToString()

(Inherited from Object.)

If you need to extend the coded UI testing framework to support a currently unsupported technology, you would need to derive your own version of this class. For example, Microsoft Excel is not natively supported by the coded UI testing framework, but by using Visual Studio 2010 Ultimate or Visual Studio 2010 Premium, you can create an extension that enables you to test Microsoft Excel Worksheets. For more information, see Extending Coded UI Tests and Action Recordings to Support Microsoft Excel.

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

Return to top
Show: