Custom Result Collection of Failed step results only
Downloads
Filename: collect_only_failures.seq
Requirements: View
The results and TS container are then copied across in the appropriate format into the caller's Locals.ResultList.
This way, only failed results are collected.
This is important especially for the current XML report options which does not allow filtering of results going to the report, instead relying on the style sheet for display. Also if you only require a failure log, and not all the step data listing which could lead to very large report files.
The sequence was designed for TestStand 3.0 and works with the html, text and xml report methods.
It does not catch for flagged items inside a step, marked as includeinreport, or for the addextraresult activeX calls made previous.
All of the coding is done using ActiveX inside the callback sequence.
The callback sequence properties have been set to disable result collection for all steps inside that sequence.
If you want to use this for your test sequences, then remember to disable result collection on your steps, otherwise you'll get a step result for each step, and two for every failure.
Requirements
Filename: collect_only_failures.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/).
