Main Content

sltest.testmanager.CustomCriteriaResult Class

Namespace: sltest.testmanager

View custom criteria test result

Description

An instance of sltest.testmanager.CustomCriteriaResult is a test result of the evaluation of custom criteria.

The sltest.testmanager.CustomCriteriaResult class is a handle class.

Class Attributes

HandleCompatible
true

For information on class attributes, see Class Attributes.

Creation

obj = getCustomCriteriaResult(tcr) creates an sltest.testmanager.CustomCriteriaResult object for a test case result object tcr.

obj = getCustomCriteriaResult(tir) creates an sltest.testmanager.CustomCriteriaResult object for a test iteration result object tir.

Properties

expand all

Custom criteria result, returned as an sltest.testmanager.TestResultOutcomes object.

Example: Passed

Attributes:

SetAccess
public
GetAccess
public
Dependent
true
NonCopyable
true

Diagnostic record of the custom criteria result, returned as an sltest.testmanager.DiagnosticRecord object.

Example: DiagnosticRecord

Attributes:

SetAccess
public
GetAccess
public
Dependent
true
NonCopyable
true

Examples

collapse all

Run the test case tc, creating a result set tcResultSet.

tcResultSet = run(tc);

Get the test case result from the result set.

tcResult = getTestCaseResults(tcResultSet);

Get the custom criteria result from the test case result.

ccResult = getCustomCriteriaResult(tcResult);

Version History

Introduced in R2016b