01-13-2012 06:46 PM
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.
01-15-2012 11:51 AM
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