Main Content

getCustomCriteria

Class: sltest.testmanager.TestCase
Namespace: sltest.testmanager

Get custom criteria that belong to test case

Syntax

customCriteria = getCustomCriteria(tc)

Description

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.

Examples

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);

Version History

Introduced in R2016b