通过使用提供的步数、所有步骤和测试操作初始化 T:Microsoft.VisualStudio.TestTools.UITest.CodeGeneration.UITestProgressEventArgs 类的一个新实例。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
public UITestProgressEventArgs(
int currentStep,
int totalSteps,
UITestAction action
)
public:
UITestProgressEventArgs(
int currentStep,
int totalSteps,
UITestAction^ action
)
new :
currentStep:int *
totalSteps:int *
action:UITestAction -> UITestProgressEventArgs
Public Sub New (
currentStep As Integer,
totalSteps As Integer,
action As UITestAction
)
参数
- currentStep
当前步骤号。
- totalSteps
步骤总数。
- action
一个 UITestAction 对象。
请参阅
UITestAction
UITestProgressEventArgs 重载
UITestProgressEventArgs 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间
返回页首