更新:调用函数情况下,失败记录中FailMsg对变量的替换
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.8.2.%2a</ApplicationVersion>
|
||||
<ApplicationVersion>1.8.3.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
||||
'通过使用 "*",如下所示:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.8.2.0")>
|
||||
<Assembly: AssemblyFileVersion("1.8.2.0")>
|
||||
<Assembly: AssemblyVersion("1.8.3.0")>
|
||||
<Assembly: AssemblyFileVersion("1.8.3.0")>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -6753,6 +6753,12 @@ UTS_Core
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:UTS_Core.UTSModule.Station.RowNode.Desc4Record">
|
||||
<summary>
|
||||
记录总使用的说明内容
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:UTS_Core.UTSModule.Station.RowNode.Count">
|
||||
<summary>
|
||||
子节点总数
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -153,6 +153,13 @@ Namespace UTSModule.Station
|
||||
''' <returns></returns>
|
||||
Public Property RowIndex As Integer
|
||||
|
||||
''' <summary>
|
||||
''' 记录总使用的说明内容
|
||||
''' </summary>
|
||||
''' <returns></returns>
|
||||
Public Property Desc4Record As String
|
||||
|
||||
|
||||
''' <summary>
|
||||
''' 子节点总数
|
||||
''' </summary>
|
||||
|
||||
@@ -24,7 +24,7 @@ Namespace UTSModule.Test.Command.SystemCommand
|
||||
Dim rowNode As RowNode = tester.GetModule(_moduleName)
|
||||
rowNode.IsRetry = IsRetry
|
||||
|
||||
If rownode Is Nothing Then
|
||||
If rowNode Is Nothing Then
|
||||
CommandReturn.ExecuteResult = False
|
||||
CommandReturn.RecordValue = String.Empty
|
||||
CommandReturn.ExecuteResultTipString = $"未查询到[{_moduleName}]模块存在"
|
||||
|
||||
@@ -198,7 +198,7 @@ Namespace UTSModule.Test
|
||||
End If
|
||||
|
||||
steps.Append(node.RowListIndex)
|
||||
msg.Append(node.Description)
|
||||
msg.Append(node.Desc4Record)
|
||||
msg.Append($" {node.TestReturn.RecordValue} ({node.TestReturn.LowerLimit},{node.TestReturn.UpperLimit})")
|
||||
Next
|
||||
dic.Add($"{TestLogTable.ColNames.FailSteps}", steps.ToString())
|
||||
|
||||
@@ -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
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -6753,6 +6753,12 @@ UTS_Core
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:UTS_Core.UTSModule.Station.RowNode.Desc4Record">
|
||||
<summary>
|
||||
记录总使用的说明内容
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:UTS_Core.UTSModule.Station.RowNode.Count">
|
||||
<summary>
|
||||
子节点总数
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -6753,6 +6753,12 @@ UTS_Core
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:UTS_Core.UTSModule.Station.RowNode.Desc4Record">
|
||||
<summary>
|
||||
记录总使用的说明内容
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="P:UTS_Core.UTSModule.Station.RowNode.Count">
|
||||
<summary>
|
||||
子节点总数
|
||||
|
||||
Reference in New Issue
Block a user