循环访问在 UITest 操作的类对象并说明这些。
取决于 UITestActionInvoker 值的解释的结果。
命名空间: Microsoft.VisualStudio.TestTools.UITest.CodeGeneration
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
继承层次结构
System.Object
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UITestInterpreterCore
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UITestInterpreter
语法
public class UITestInterpreterCore : IDisposable
public ref class UITestInterpreterCore : IDisposable
type UITestInterpreterCore =
class
interface IDisposable
end
Public Class UITestInterpreterCore
Implements IDisposable
构造函数
| 名称 | 说明 | |
|---|---|---|
![]() |
UITestInterpreterCore(UITest) | 创建给定 UITest 的 UITestInterpreter 的实例。 |
属性
| 名称 | 说明 | |
|---|---|---|
![]() |
ActionInvoker | 获取或设置要用于在 UITest 中执行操作的 UITestActionInvoker。 |
![]() |
CurrentAction | 当前正执行的操作。 |
![]() |
PlaybackInProgress | 进度,则播放中,则为 true。 |
![]() |
PlaybackUITest | 获取正在执行的 UI 测试。 |
方法
事件
| 名称 | 说明 | |
|---|---|---|
![]() |
ActionCompleted | 执行 UITestAction 后引发事件。 |
![]() |
ActionListCompleted | 每个 ActionList 执行完后引发事件。 |
![]() |
ActionListStarted | 在每个 ActionList 之前执行引发的事件启动。 |
![]() |
ActionStarted | UITestAction 执行前引发事件。 |
![]() |
InterpreterError | 解读 UITest 时出现错误的事件引发。 |
![]() |
InterpreterProgress | 解读 UITest 时更新进度的事件引发。 |
![]() |
InterpreterWarning | 解读 UITest 时出现警告的事件引发。 |
![]() |
UITestCompleted | UItest 执行完后引发事件。 |
![]() |
UITestStarted | 在 UITest 开始之前执行引发的事件。 |
线程安全
此类型的任何公共静态(Visual Basic 中为 Shared)成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参阅
Microsoft.VisualStudio.TestTools.UITest.CodeGeneration 命名空间
返回页首
.gif)
.jpeg)
.gif)
.gif)
.jpeg)
.gif)