Documentation Center

  • Trial Software
  • Product Updates

setSubResultStatus

Class: ModelAdvisor.FormatTemplate
Package: ModelAdvisor

Add status to check or subcheck result

Syntax

setSubResultStatus(ft_obj, 'status')

Description

setSubResultStatus(ft_obj, 'status') is an optional method that displays the status in the result. Use this method to display the status of the check or subcheck in the result. ft_obj is a handle to a template object. status is a string identifying the status of the check. Valid strings are:

Pass
Warn
Fail

Examples

Create a list object, ft, and add a passing status:

ft = ModelAdvisor.FormatTemplate('ListTemplate');
setSubResutlStatus(ft, 'Pass');

See Also

How To

Was this topic helpful?