Main Content

getTestFileResults

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

Get test file results object

Syntax

testFileResultArray = getTestFileResults(result)

Description

testFileResultArray = getTestFileResults(result) gets the test file results that are direct children of the results set object.

Input Arguments

expand all

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

Output Arguments

expand all

Test file results, returned as an array of sltest.testmanager.TestFileResult objects. The function returns objects that are direct children of the results set input 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 results in the result set.

resultset = sltest.testmanager.run;

testFileResultArray = getTestFileResults(resultset);

Version History

Introduced in R2016a