This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Class: sltest.testmanager.TestCase
Package: sltest.testmanager

Get custom criteria that belong to test case


customCriteria = getCustomCriteria(tc)


customCriteria = getCustomCriteria(tc) creates the custom criteria object customCriteria from the test case tc.

Input Arguments

expand all

Test case to get the custom criteria from, specified as a sltest.testmanager.TestCase object.

Output Arguments

expand all

Custom criteria of the test case, returned as an sltest.testmanager.CustomCriteria object.


expand all

Create a test case object from the test suite ts.

tc = ts.getTestCaseByName('Requirement 1.3 Test');

Get the custom criteria from the test case tc.

tcCriteria = getCustomCriteria(tc);

Introduced in R2016b