UITechnologyManagerProxy 类
代理技术管理器选件类。
扩展插件必须重写此和自定义元素的技术管理器行为。
继承层次结构
System.Object
Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyManager
Microsoft.VisualStudio.TestTools.UITesting.UITechnologyManagerProxy
命名空间: Microsoft.VisualStudio.TestTools.UITesting
程序集: Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
语法
声明
<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
UITechnologyManagerProxy 类型公开以下成员。
构造函数
页首
属性
页首
方法
.gif) |
AddEventHandler |
添加事件处理程序。 (重写 UITechnologyManager.AddEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)。) |
.gif) |
AddGlobalEventHandler |
添加全局接收器通知插件引发的事件 (重写 UITechnologyManager.AddGlobalEventHandler(UITestEventType, IUITestEventNotify)。) |
.gif) |
CancelStep |
取消任何挂起或此技术管理器执行的搜索操作由于调用WaitForReady或搜索方法。 (重写 UITechnologyManager.CancelStep()。) |
.gif) |
ConvertToExtensionElement |
核心元素转换为扩展组件。扩展此代理技术管理器的所有插件必须实现此并用核心技术元素和扩展管理器中复制创建一个简单的转换。内容类似:公共重写IUITechnologyElement ConvertToExtensionElement (IUITechnologyElement coreElement) {ExtensionTechnologyElement extensionElement = new ExtensionTechnologyElement ();extensionElement.ExtensionTechnologyManager为;extensionElement.CoreTechnologyElement = coreElement;返回extensionElement;} |
.gif) |
ConvertToThisTechnology |
将另一种技术的特定元素为该技术管理器的新元素。 对于操作使用例如在承载的和承载的技术之间切换。 (重写 UITechnologyManager.ConvertToThisTechnology(IUITechnologyElement, Int32%)。) |
.gif) |
Equals |
确定指定的对象是否等于当前对象。 (继承自 Object。) |
.gif) |
Finalize |
允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) |
.gif) |
GetChildren |
获取给定IUITechnologyElement的子级的枚举器。 (重写 UITechnologyManager.GetChildren(IUITechnologyElement, Object)。) |
.gif) |
GetControlSupportLevel |
获取此技术管理器的支持级别的元素特定窗口。 框架使用此功能为元素选择正确的技术管理器。 (重写 UITechnologyManager.GetControlSupportLevel(IntPtr)。) |
.gif) |
GetElementFromNativeElement |
从给定本机()的基础技术元素获取元素。 (重写 UITechnologyManager.GetElementFromNativeElement(Object)。) |
.gif) |
GetElementFromPoint |
获取元素在特定屏幕坐标。 (重写 UITechnologyManager.GetElementFromPoint(Int32, Int32)。) |
.gif) |
GetElementFromWindowHandle |
从特定窗口句柄获取元素。 (重写 UITechnologyManager.GetElementFromWindowHandle(IntPtr)。) |
.gif) |
GetFocusedElement |
获取表示组件将收到键盘事件的此实例的焦点元素。 (重写 UITechnologyManager.GetFocusedElement(IntPtr)。) |
.gif) |
GetHashCode |
用作特定类型的哈希函数。 (继承自 Object。) |
.gif) |
GetLastInvocationInfo |
获取有关技术管理器的最近调用的信息。 (重写 UITechnologyManager.GetLastInvocationInfo()。) |
.gif) |
GetNextSibling |
获取给定元素的下一个同级在用户界面层次结构中。 (重写 UITechnologyManager.GetNextSibling(IUITechnologyElement)。) |
.gif) |
GetParent |
获取给定元素的父级用户界面层次结构中。 (重写 UITechnologyManager.GetParent(IUITechnologyElement)。) |
.gif) |
GetPreviousSibling |
获取给定元素的同级在用户界面层次结构中。 (重写 UITechnologyManager.GetPreviousSibling(IUITechnologyElement)。) |
.gif) |
GetSynchronizationWaiter |
获取给定UITestEventType的同步等待人员此元素。 (重写 UITechnologyManager.GetSynchronizationWaiter(IUITechnologyElement, UITestEventType)。) |
.gif) |
GetTechnologyManagerProperty |
获取技术管理器特定特性。 (重写 UITechnologyManager.GetTechnologyManagerProperty(UITechnologyManagerProperty)。) |
.gif) |
GetType |
获取当前实例的 Type。 (继承自 Object。) |
.gif) |
MatchElement |
(重写 UITechnologyManager.MatchElement(IUITechnologyElement, Object, Boolean%)。) |
.gif) |
MemberwiseClone |
创建当前 Object 的浅表副本。 (继承自 Object。) |
.gif) |
ParseQueryId |
分析查询元素字符串并返回要使用在搜索过程中parsedQueryIdCookie ()或MatchElement ()或GetChildren ()要求具有相同的查询字符串的搜索或匹配或获取子元素。 EXT-PROTO1-NOTES:这是必需的,以便QID的插件部分正确分析,并且播放引擎再次后调用插件MatchElement ()与QID的该插件部分。 (重写 UITechnologyManager.ParseQueryId(String, Object%)。) |
.gif) |
ProcessMouseEnter |
处理鼠标进入窗口的事件。 (重写 UITechnologyManager.ProcessMouseEnter(IntPtr)。) |
.gif) |
RemoveEventHandler |
移除事件处理程序。 (重写 UITechnologyManager.RemoveEventHandler(IUITechnologyElement, UITestEventType, IUITestEventNotify)。) |
.gif) |
RemoveGlobalEventHandler |
移除全局接收到插件引发的事件notifiy (重写 UITechnologyManager.RemoveGlobalEventHandler(UITestEventType, IUITestEventNotify)。) |
.gif) |
Search |
(重写 UITechnologyManager.Search(Object, IUITechnologyElement, Int32)。) |
.gif) |
SetTechnologyManagerProperty |
设置技术管理器特定特性。 (重写 UITechnologyManager.SetTechnologyManagerProperty(UITechnologyManagerProperty, Object)。) |
.gif) |
StartSession |
执行此技术管理器所需的所有初始化对于启动会话。 (重写 UITechnologyManager.StartSession(Boolean)。) |
.gif) |
StopSession |
执行此技术管理器所需的所有清理对于停止当前会话。 (重写 UITechnologyManager.StopSession()。) |
.gif) |
ToString |
返回表示当前对象的字符串。 (继承自 Object。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参见
参考
Microsoft.VisualStudio.TestTools.UITesting 命名空间