NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Label step status reporting

I'd like to include the Label step into report for documenting purposes, but I don't want to have Status: Done for this step in the report. By default the label step type has Record Result unchecked and Include In Report flag for Step.Result.Status unchecked. Executing just with checked Record Result still has Status in the report. Then, more interesting, when Include In Report flag for Step.Result.Status is checked, the Status is included into report twice. A bug?

 

Label
Status: Done
Status: Done

 

Execute in the default SequentialModel.seq TS 4.2.1

0 Kudos
Message 1 of 2
(3,392 Views)

Hi skof

 

Quick and dirty:

You could remove the Done text with a Post Expression of Step.Result.Status = "" on each of your label steps.

 

Alternative:

Modify or override the TestReport callback in your process model to evaluate for step types of Label and modify the status to "" during report generation.

 

Steve

0 Kudos
Message 2 of 2
(3,365 Views)