10-09-2016 10:39 AM
How can I filter the test report to get rid of the information regarding a sub sequence call such as 'Begin' and 'End' of the sub sequence from the report. All I want in the report is the actual passed/failed result of the actual test only and not any info on the sub sequence call as it justs makes a mess of the report. I get a mess:
------------------------------------------------------------
sub call 1: Failed
Begin Sequence: subb_1
(C:\temp\sdhSequence File 2.seq)
sub 1 actual Pass/Fail Test: Failed
End Sequence: subb_1
sub call 2: Failed
Begin Sequence: subb_2
(C:\temp\sdhSequence File 2.seq)
sub 2 actual Pass/Fail Test: Failed
End Sequence: subb_2
--------------------------------------------------------------
All I want is:
sub 1 actual Pass/Fail Test: Failed
sub 2 actual Pass/Fail Test: Failed
TestStand 12
10-10-2016
04:56 AM
- last edited on
11-05-2024
01:48 PM
by
Content Cleaner
Hi,
Does the following link help solve your problem?
Regards,
Nathan
10-17-2016 02:52 AM
The NI link does not fully explain how to get rid of the XML annoying sub 'sequence call' steps whilst still leaving the actual tests within them alone.
10-19-2016 04:04 AM
Hi stevesteve,
As far as I can tell, it may be possible to do what you're asking through altering the xml stylesheet, however I'm not familiar with xsl and can't find anything that would suggest how to do this. Would it be possible to exclude any passed steps using the link NASmith provided? Or would this remove more than just the sub sequence calls as you're asking?
10-19-2016 05:52 AM
The NI link is poor; it does not fully explain how to get rid of the XML annoying sub 'sequence call' steps whilst still leaving the actual tests within them alone.
10-21-2016 03:18 AM
Hi stevesteve,
I've found some information that may be useful for you, it looks like you can remove the Begin and End sequence from the stylesheet by commenting out the relevant lines. These are:
Begin Sequence: <xsl:value-of select="Prop/Prop[@Name='TS']/Prop[@Name='SequenceCall']/Prop[@Name='Sequence']/Value"/>
and
End Sequence: <xsl:value-of select="Prop/Prop[@Name='TS']/Prop[@Name='SequenceCall']/Prop[@Name='Sequence']/Value"/>
To filter out sequence calls themselves, it appears to be based on the previous link of excluding results but then altering the ResultList template as well. As I don't fully understand this part I don't want to try and explain it incase I cause any errors. Instead, attached is an example stylesheet that should have the functionality you're asking for.
If you would like I can try to explain the results filtering as best as I can.
Regards,
Henry