Main Content
getBaselineRun
Class: sltest.testmanager.TestCaseResult
Namespace: sltest.testmanager
Get test case baseline dataset
Syntax
baseline = getBaselineRun(result)
Description
gets
the baseline dataset used in a test case, which belongs to the test
case results object. The baseline dataset is saved with the test case
result only if the Save baseline data in test result check
box is selected in the test case under the Baseline Criteria section.baseline
= getBaselineRun(result
)
To record the baseline data in the test case result, you must
set the SaveBaselineRunInTestResult
test case property
to true
:
setProperty(testcase,'SaveBaselineRunInTestResult',true);
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016a