使用提供的 UI 元素初始化 UITestAction 类的新实例。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
protected UITestAction(
UITechnologyElement uiElement
)
protected:
UITestAction(
UITechnologyElement^ uiElement
)
new :
uiElement:UITechnologyElement -> UITestAction
Protected Sub New (
uiElement As UITechnologyElement
)
参数
- uiElement
一个 UITechnologyElement 对象,表示 UI 中的一个元素。
请参阅
UITechnologyElement
UITestAction 重载
UITestAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间
返回页首