getBaselineRun
类: sltest.testmanager.TestCaseResult
命名空间: sltest.testmanager
获取测试用例基线数据集
语法
baseline = getBaselineRun(result)
说明
获取测试用例使用的基线数据集,属于测试用例结果对象。仅当在基线准则部分下的测试用例中选中 Save baseline data in test result 复选框时,基线数据集才会与测试用例结果一起保存。baseline
= getBaselineRun(result
)
为了在测试用例结果中记录基线数据,必须将 SaveBaselineRunInTestResult
测试用例属性设置为 true
:
setProperty(testcase,'SaveBaselineRunInTestResult',true);
输入参数
输出参量
示例
版本历史记录
在 R2016a 中推出