Documentation

sltest.testmanager.CustomCriteriaResult class

Package: sltest.testmanager
Superclasses:

View custom criteria test result

Description

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

Construction

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

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

Example: DiagnosticRecord

Examples

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

Introduced in R2016b

Was this topic helpful?