更新:调用函数情况下,失败记录中FailMsg对变量的替换

This commit is contained in:
2024-05-14 00:19:47 +08:00
parent b277d97689
commit 985fec2287
21 changed files with 32 additions and 5 deletions

View File

@@ -746,6 +746,8 @@ Namespace UTSModule.Test
ReplaceValue(cmd, localVariable) '执行前变量替换
Dim executor As TestCommandExecutor = TestCommandManger.CreateExecutor(cmd) '创建执行器
node.Desc4Record = ReplaceString(node.Description, localVariable) '替换记录名称中变量
'最大执行总数为1+重试次数
For retry As Integer = 0 To node.Retry
If _exitTest Then Exit For