Main Content


Class: sltest.testmanager.ResultSet
Package: sltest.testmanager

Get test case results object


testCaseResultArray = getTestCaseResults(result)


testCaseResultArray = getTestCaseResults(result) gets the test case results that are direct children of the results set object.

Input Arguments

expand all

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

Output Arguments

expand all

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


expand all

Use the function to return a result set that contains test file, test suite, and test case results.

% Run tests in the Test Manager
result =;

% Get the test file results
testFileResultArray = getTestFileResults(result);

% Get the test suite results
testSuiteResultArray = getTestSuiteResults(result);

% Get the test case results
testCaseResultArray = getTestCaseResults(result);

Version History

Introduced in R2015a