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.

UITechnologyManagerProxy Class

 

The proxy technology manager class.

Extension plugins must override this and customize their technology manager behavior.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

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

[ComVisibleAttribute(true)]
public abstract class UITechnologyManagerProxy : UITechnologyManager

NameDescription
System_CAPS_protmethodUITechnologyManagerProxy(String, String)

Initializes the proxy for the given technology.

NameDescription
System_CAPS_pubpropertyTechnologyName

Gets the name of the technology supported by this technology manager.(Overrides UITechnologyManager.TechnologyName.)

NameDescription
System_CAPS_pubmethodAddEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)
System_CAPS_pubmethodAddGlobalEventHandler(UITestEventType, IUITestEventNotify)

Adds a global sink to notify actions raised by the plugin(Overrides UITechnologyManager.AddGlobalEventHandler(UITestEventType, IUITestEventNotify).)

System_CAPS_pubmethodCancelStep()

Cancels any wait or search operation being performed by this technology manager because of call to WaitForReady or Search methods.(Overrides UITechnologyManager.CancelStep().)

System_CAPS_pubmethodConvertToExtensionElement(IUITechnologyElement)

Conversion of core element to extension element.

All plugins extending this proxy technology manager must implement this and create a simple conversion with copy of core technology element and extension manager. Something like : public override IUITechnologyElement ConvertToExtensionElement(IUITechnologyElement coreElement) { ExtensionTechnologyElement extensionElement = new ExtensionTechnologyElement(); extensionElement.ExtensionTechnologyManager = this; extensionElement.CoreTechnologyElement = coreElement; return extensionElement; }

System_CAPS_pubmethodConvertToThisTechnology(IUITechnologyElement, Int32)

Converts the given element of another technology to new element of this technology manager.

This is used for operations such as switching between hosted and hosting technologies.(Overrides UITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32).)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetChildren(IUITechnologyElement, Object)

Gets the enumerator for children of the given IUITechnologyElement.(Overrides UITechnologyManager.GetChildren(IUITechnologyElement, Object).)

System_CAPS_pubmethodGetControlSupportLevel(AutomationElement)

(Inherited from UITechnologyManager.)

System_CAPS_pubmethodGetControlSupportLevel(IntPtr)

Gets the support level of this technology manager for the elements(s) in the given window.

The framework uses this function to select the correct technology manager for the element.(Overrides UITechnologyManager.GetControlSupportLevel(IntPtr).)

System_CAPS_pubmethodGetElementFromAutomationElement(AutomationElement, AutomationElement)
System_CAPS_pubmethodGetElementFromNativeElement(Object)

Gets the element from the given native (underlying) technology element.(Overrides UITechnologyManager.GetElementFromNativeElement(Object).)

System_CAPS_pubmethodGetElementFromPoint(Int32, Int32)

Gets the element at the given screen coordinates.(Overrides UITechnologyManager.GetElementFromPoint(Int32, Int32).)

System_CAPS_pubmethodGetElementFromPoint(Int32, Int32, AutomationElement)
System_CAPS_pubmethodGetElementFromWindowHandle(IntPtr)

Gets the element from the given window handle.(Overrides UITechnologyManager.GetElementFromWindowHandle(IntPtr).)

System_CAPS_pubmethodGetFocusedElement(AutomationElement)

(Inherited from UITechnologyManager.)

System_CAPS_pubmethodGetFocusedElement(IntPtr)

Gets the focused element that is the element that will receive keyboard events at this instance.(Overrides UITechnologyManager.GetFocusedElement(IntPtr).)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLastInvocationInfo()

Gets the information about the most recent invocation of the technology manager.(Overrides UITechnologyManager.GetLastInvocationInfo().)

System_CAPS_pubmethodGetNextSibling(IUITechnologyElement)

Gets the next sibling of the given element in the user interface hierarchy.(Overrides UITechnologyManager.GetNextSibling(IUITechnologyElement).)

System_CAPS_pubmethodGetParent(IUITechnologyElement)

Gets the parent of the given element in the user interface hierarchy.(Overrides UITechnologyManager.GetParent(IUITechnologyElement).)

System_CAPS_pubmethodGetPreviousSibling(IUITechnologyElement)

Gets the previous sibling of the given element in the user interface hierarchy.(Overrides UITechnologyManager.GetPreviousSibling(IUITechnologyElement).)

System_CAPS_pubmethodGetSynchronizationWaiter(IUITechnologyElement, UITestEventType)

Gets a synchronization waiter for given UITestEventType on this element.(Overrides UITechnologyManager.GetSynchronizationWaiter(IUITechnologyElement, UITestEventType).)

System_CAPS_pubmethodGetTechnologyManagerProperty(UITechnologyManagerProperty)

Gets the given property of technology manager.(Overrides UITechnologyManager.GetTechnologyManagerProperty(UITechnologyManagerProperty).)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMatchElement(IUITechnologyElement, Object, Boolean)
System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodParseQueryId(String, Object)

Parses the query element string and returns the parsedQueryIdCookie that will be used during Search() or MatchElement() or GetChildren() call for either searching or matching or obtaining children that has the same query string.

EXT-PROTO1-NOTES: This is required so that the plugin part of the QID is correctly parsed and playback engine later calls into the plugin's MatchElement() again with that plugin part of QID.(Overrides UITechnologyManager.ParseQueryId(String, Object).)

System_CAPS_pubmethodProcessMouseEnter(IntPtr)

Processes the process mouse enter event for the window.(Overrides UITechnologyManager.ProcessMouseEnter(IntPtr).)

System_CAPS_pubmethodRemoveEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)
System_CAPS_pubmethodRemoveGlobalEventHandler(UITestEventType, IUITestEventNotify)

Removes a global sink to notifiy actions raised by the plugin(Overrides UITechnologyManager.RemoveGlobalEventHandler(UITestEventType, IUITestEventNotify).)

System_CAPS_pubmethodSearch(Object, IUITechnologyElement, Int32)
System_CAPS_pubmethodSetTechnologyManagerProperty(UITechnologyManagerProperty, Object)

Sets the given property of technology manager.(Overrides UITechnologyManager.SetTechnologyManagerProperty(UITechnologyManagerProperty, Object).)

System_CAPS_pubmethodStartSession(Boolean)

Performs any initialization required by this technology manager for starting a session.(Overrides UITechnologyManager.StartSession(Boolean).)

System_CAPS_pubmethodStopSession()

Performs any cleanup required by this technology manager for stopping the current session.(Overrides UITechnologyManager.StopSession().)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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: