UITechnologyManagerProxy Class
The proxy technology manager class.
Extension plugins must override this and customize their technology manager behavior.
Inheritance Hierarchy
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)
Syntax
'Declaration
<ComVisibleAttribute(True)> _
Public MustInherit Class UITechnologyManagerProxy _
Inherits UITechnologyManager
[ComVisibleAttribute(true)]
public abstract class UITechnologyManagerProxy : UITechnologyManager
[ComVisibleAttribute(true)]
public ref class UITechnologyManagerProxy abstract : public UITechnologyManager
[<AbstractClass>]
[<ComVisibleAttribute(true)>]
type UITechnologyManagerProxy =
class
inherit UITechnologyManager
end
public abstract class UITechnologyManagerProxy extends UITechnologyManager
The UITechnologyManagerProxy type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UITechnologyManagerProxy | Initializes the proxy for the given technology. |
Top
Properties
Name | Description | |
---|---|---|
TechnologyName | Gets the name of the technology supported by this technology manager. (Overrides UITechnologyManager.TechnologyName.) |
Top
Methods
Name | Description | |
---|---|---|
AddEventHandler | Adds an event handler. (Overrides UITechnologyManager.AddEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify).) | |
AddGlobalEventHandler | Adds a global sink to notify actions raised by the plugin (Overrides UITechnologyManager.AddGlobalEventHandler(UITestEventType, IUITestEventNotify).) | |
CancelStep | Cancels any wait or search operation being performed by this technology manager because of call to WaitForReady or Search methods. (Overrides UITechnologyManager.CancelStep().) | |
ConvertToExtensionElement | 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; } | |
ConvertToThisTechnology | 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%).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetChildren | Gets the enumerator for children of the given IUITechnologyElement. (Overrides UITechnologyManager.GetChildren(IUITechnologyElement, Object).) | |
GetControlSupportLevel | 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).) | |
GetElementFromNativeElement | Gets the element from the given native (underlying) technology element. (Overrides UITechnologyManager.GetElementFromNativeElement(Object).) | |
GetElementFromPoint | Gets the element at the given screen coordinates. (Overrides UITechnologyManager.GetElementFromPoint(Int32, Int32).) | |
GetElementFromWindowHandle | Gets the element from the given window handle. (Overrides UITechnologyManager.GetElementFromWindowHandle(IntPtr).) | |
GetFocusedElement | Gets the focused element that is the element that will receive keyboard events at this instance. (Overrides UITechnologyManager.GetFocusedElement(IntPtr).) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLastInvocationInfo | Gets the information about the most recent invocation of the technology manager. (Overrides UITechnologyManager.GetLastInvocationInfo().) | |
GetNextSibling | Gets the next sibling of the given element in the user interface hierarchy. (Overrides UITechnologyManager.GetNextSibling(IUITechnologyElement).) | |
GetParent | Gets the parent of the given element in the user interface hierarchy. (Overrides UITechnologyManager.GetParent(IUITechnologyElement).) | |
GetPreviousSibling | Gets the previous sibling of the given element in the user interface hierarchy. (Overrides UITechnologyManager.GetPreviousSibling(IUITechnologyElement).) | |
GetSynchronizationWaiter | Gets a synchronization waiter for given UITestEventType on this element. (Overrides UITechnologyManager.GetSynchronizationWaiter(IUITechnologyElement, UITestEventType).) | |
GetTechnologyManagerProperty | Gets the given property of technology manager. (Overrides UITechnologyManager.GetTechnologyManagerProperty(UITechnologyManagerProperty).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MatchElement | (Overrides UITechnologyManager.MatchElement(IUITechnologyElement, Object, Boolean%).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ParseQueryId | 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%).) | |
ProcessMouseEnter | Processes the process mouse enter event for the window. (Overrides UITechnologyManager.ProcessMouseEnter(IntPtr).) | |
RemoveEventHandler | Removes an event handler. (Overrides UITechnologyManager.RemoveEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify).) | |
RemoveGlobalEventHandler | Removes a global sink to notifiy actions raised by the plugin (Overrides UITechnologyManager.RemoveGlobalEventHandler(UITestEventType, IUITestEventNotify).) | |
Search | (Overrides UITechnologyManager.Search(Object, IUITechnologyElement, Int32).) | |
SetTechnologyManagerProperty | Sets the given property of technology manager. (Overrides UITechnologyManager.SetTechnologyManagerProperty(UITechnologyManagerProperty, Object).) | |
StartSession | Performs any initialization required by this technology manager for starting a session. (Overrides UITechnologyManager.StartSession(Boolean).) | |
StopSession | Performs any cleanup required by this technology manager for stopping the current session. (Overrides UITechnologyManager.StopSession().) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.