Main Content


Get test files open in the Test Manager



testFiles = sltest.testmanager.getTestFiles returns an array of test files that are currently open in the Test Manager. The array contains an sltest.testmanager.TestFile object for each test file.


collapse all

You can use the sltest.testmanager.getTestFiles function to get sltest.testmanager.TestFile objects for each test file open in the Test Manager.

Load test files in the Test Manager that you want to get the objects for.

% Get test files from Test Manager
testFiles = sltest.testmanager.getTestFiles

Output Arguments

collapse all

Test files that are open in the test manager, returned as an array of sltest.testmanager.TestFile objects.

Version History

Introduced in R2016b