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