Modification of Result Collection using SequenceFilePostResultListEntry Callback
Downloads
Filename: discardresult.seq
Requirements: View
The sequence file attached below demonstrates this approach by discarding all results except those for steps that have failed. This is especially useful for XML reports (since in the Report Options dialog box the Result Filtering option is disabled when the XML Document report format is selected), but will also work for text and HTML report formats as well.
Note: With this approach, you should leave the Step failure causes sequence failure checkbox enabled for any step that might fail. This checkbox is in the Step Properties dialog box on the Run Options tab, and is enabled by default. If this checkbox is disbaled, Sequence Call steps will not be marked as Failed when one when of its steps fails, so the sequence call's result (and all the step results it contains) will be discarded and the report will not display the correct information.
| Related Links: |
| KnowledgeBase 2FTCHAY6: Runtime Manipulation of the ResultList Contents |
| KnowledgeBase 3D3AAI0U: How Do I Filter Results in a TestStand XML Report? |
Requirements
Filename: discardresult.seq
Software Requirements
Application Software: NI TestStand Development System 3.0
Language(s): None
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
