Main Content

getTestSuiteResults

Class: sltest.testmanager.ResultSet
Namespace: sltest.testmanager

Get test suite results object

Syntax

testSuiteResultArray = getTestSuiteResults(result)

Description

testSuiteResultArray = getTestSuiteResults(result) gets the test suite results that are direct children of the results set object.

Input Arguments

expand all

Results set to get test suite results from, specified as a sltest.testmanager.ResultSet object.

Output Arguments

expand all

Test suite results, returned as an array of sltest.testmanager.TestSuiteResult objects. The function returns objects that are direct children of the results set object.

Examples

expand all

Assume you have a model open and test file for it open in the Test Manager. After running the test, obtain the test file and its test suite results in the result set.

resultset = sltest.testmanager.run;

testFileResultArray = getTestFileResults(resultset);
testSuiteResultArray = getTestSuiteResults(resultset);

Version History

Introduced in R2015a