NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable logging to database for a single step

I need to record a step to report but that particular step should not be recorded to database. Any suggestions on how to achieve this?

A part of the database schema I have is:

The schema handles results as follows:
- Logs UUT Results to the UUT_RESULT table.
- Logs Step Results to STEP_RESULT table.
- Logs sequence call step details to STEP_SEQCALL table.

 

Currently all the steps are getting recorder under STEP_RESULT table.

 

Also is there a way to make it generic so that when this particular step type is used it never gets logged to database but does show on the report?

 

Thanks.

*************************************************
CLD
*************************************************
0 Kudos
Message 1 of 2
(2,691 Views)

lvrat -

I believe you have two options to ignore a specific step type:

1) You can set the Precondition setting for the STEP_RESULT statement to something like:

    Logging.StepResult.TS.StepType != "MyStepTypeNameToIgnore"

2) You can set the Result Filtering Expression setting for the Database Options tab to

    Logging.StepResult.TS.StepType != "MyStepTypeNameToIgnore"

 

If there was a unique property for these steps, you could use the existence of that property.

 

- Scott

Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(2,683 Views)