Export (0) Print
Expand All

UITechnologyManagerProxy Class

The proxy technology manager class.

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

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

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

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

The UITechnologyManagerProxy type exposes the following members.

  NameDescription
Protected methodUITechnologyManagerProxyInitializes the proxy for the given technology.
Top

  NameDescription
Public propertyTechnologyNameGets the name of the technology supported by this technology manager. (Overrides UITechnologyManager.TechnologyName.)
Top

  NameDescription
Public methodAddEventHandlerAdds an event handler. (Overrides UITechnologyManager.AddEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify).)
Public methodAddGlobalEventHandlerAdds a global sink to notify actions raised by the plugin (Overrides UITechnologyManager.AddGlobalEventHandler(UITestEventType, IUITestEventNotify).)
Public methodCancelStepCancels any wait or search operation being performed by this technology manager because of call to WaitForReady or Search methods. (Overrides UITechnologyManager.CancelStep().)
Public methodConvertToExtensionElementConversion 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; }
Public methodConvertToThisTechnologyConverts 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).)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetChildrenGets the enumerator for children of the given IUITechnologyElement. (Overrides UITechnologyManager.GetChildren(IUITechnologyElement, Object).)
Public methodGetControlSupportLevelGets 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).)
Public methodGetElementFromNativeElementGets the element from the given native (underlying) technology element. (Overrides UITechnologyManager.GetElementFromNativeElement(Object).)
Public methodGetElementFromPointGets the element at the given screen coordinates. (Overrides UITechnologyManager.GetElementFromPoint(Int32, Int32).)
Public methodGetElementFromWindowHandleGets the element from the given window handle. (Overrides UITechnologyManager.GetElementFromWindowHandle(IntPtr).)
Public methodGetFocusedElementGets the focused element that is the element that will receive keyboard events at this instance. (Overrides UITechnologyManager.GetFocusedElement(IntPtr).)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetLastInvocationInfoGets the information about the most recent invocation of the technology manager. (Overrides UITechnologyManager.GetLastInvocationInfo().)
Public methodGetNextSiblingGets the next sibling of the given element in the user interface hierarchy. (Overrides UITechnologyManager.GetNextSibling(IUITechnologyElement).)
Public methodGetParentGets the parent of the given element in the user interface hierarchy. (Overrides UITechnologyManager.GetParent(IUITechnologyElement).)
Public methodGetPreviousSiblingGets the previous sibling of the given element in the user interface hierarchy. (Overrides UITechnologyManager.GetPreviousSibling(IUITechnologyElement).)
Public methodGetSynchronizationWaiterGets a synchronization waiter for given UITestEventType on this element. (Overrides UITechnologyManager.GetSynchronizationWaiter(IUITechnologyElement, UITestEventType).)
Public methodGetTechnologyManagerPropertyGets the given property of technology manager. (Overrides UITechnologyManager.GetTechnologyManagerProperty(UITechnologyManagerProperty).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodMatchElement (Overrides UITechnologyManager.MatchElement(IUITechnologyElement, Object, Boolean).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodParseQueryIdParses 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).)
Public methodProcessMouseEnterProcesses the process mouse enter event for the window. (Overrides UITechnologyManager.ProcessMouseEnter(IntPtr).)
Public methodRemoveEventHandlerRemoves an event handler. (Overrides UITechnologyManager.RemoveEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify).)
Public methodRemoveGlobalEventHandlerRemoves a global sink to notifiy actions raised by the plugin (Overrides UITechnologyManager.RemoveGlobalEventHandler(UITestEventType, IUITestEventNotify).)
Public methodSearch (Overrides UITechnologyManager.Search(Object, IUITechnologyElement, Int32).)
Public methodSetTechnologyManagerPropertySets the given property of technology manager. (Overrides UITechnologyManager.SetTechnologyManagerProperty(UITechnologyManagerProperty, Object).)
Public methodStartSessionPerforms any initialization required by this technology manager for starting a session. (Overrides UITechnologyManager.StartSession(Boolean).)
Public methodStopSessionPerforms any cleanup required by this technology manager for stopping the current session. (Overrides UITechnologyManager.StopSession().)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

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