NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

excluding subsequence step names from report

How do I Exclude steps names of my subsequences  from Report file?
To be clear: I want that the report file will include only step names from the main sequence .
I know that I can do it manualy for each step at each subsequence, but can I use some global option?
I'm using Testand 3.5
Thanks,
Ofer
0 Kudos
Message 1 of 5
(3,599 Views)

Hi Ofer,

You could do it by modifying the relevant report generation seq file or by using the Callback Sequence ModifyReportBody.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 5
(3,597 Views)
Ofer,

there is a third way Ray didnt mention:
You can overwrite a callback called "SequenceFilePostResultListEntry" and remove the entry in the ResultList, which has been made by the step, if the stepname equals the given exclusion.

regards,
Norbert B.
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 3 of 5
(3,596 Views)

Hi,

Norbert's is probably the best way, if you are wanting to remove all of the step results from the list, you will obviously have to do some checking to ensure the steps are part of sub-sequences and not the top level.

If you are just wanting to remove the step name but leave the actual results then using the ModifyReportBody would be the way to go.

Regards

Ray Farmer 

Regards
Ray Farmer
Message 4 of 5
(3,590 Views)
Thanks a lot:
I used your advices ( overwrite the callback called "SequenceFilePostResultListEntry" and remove subsequnce entries in the ResultList)
and it works well.
By the way: I cant find
the Callback Sequence "ModifyReportBody". Maybe u mean "ModifyReportEntry" ?
Thanks
Ofer
0 Kudos
Message 5 of 5
(3,566 Views)