修复Call命令计时问题
This commit is contained in:
@@ -720,8 +720,7 @@ Namespace UTSModule.Test
|
||||
Dim result As New TestCommandReturn
|
||||
If String.IsNullOrWhiteSpace(node.Command) Then Return result
|
||||
|
||||
_stepWatch.Restart() '重启单步测试计时
|
||||
|
||||
Dim watch As Stopwatch = Stopwatch.StartNew() '开启单步计时
|
||||
Dim cmd As New TestCommand(node) '获取执行参数
|
||||
ReplaceValue(cmd, localVariable) '执行前变量替换
|
||||
Dim executor As TestCommandExecutor = TestCommandManger.CreateExecutor(cmd) '创建执行器
|
||||
@@ -742,8 +741,8 @@ Namespace UTSModule.Test
|
||||
Thread.Sleep(node.RetryInterval)
|
||||
Next
|
||||
|
||||
_stepWatch.Stop()
|
||||
result.StepTimeSpan = _stepWatch.Elapsed
|
||||
watch.Stop()
|
||||
result.StepTimeSpan = watch.Elapsed
|
||||
|
||||
'进度修改
|
||||
If node.RowListIndex > _startTestIndex AndAlso node.RowIndex < _endTestIndex Then
|
||||
|
||||
Reference in New Issue
Block a user