04-01-2011 12:52 AM
Hi, I want to display the number of Passed / failed tests in Testtand xml report , please help me.
My requirement is later i should be able to display these number of passed/failed test in report header too.
Solved! Go to Solution.
04-01-2011 01:39 AM
04-01-2011 02:10 AM
If you know about XML a bit, you can edit the XML string to update the No of Failed/Passed steps in the Report,
http://forums.ni.com/t5/NI-TestStand/Data-from-text-file-to-report-header/m-p/1458376#M31966 , this link is about adding the Some data to the Report Header in your case you have to Get the count of Passed/Failed Steps and update in the "Title" attribute. It will be Shown in the Report
If you are looking for adding other information in the XML, you have to work a little by appending new node in the XML and have to modify the Style Sheet to get apperaed in the Report.
AshwiN,
04-01-2011 02:11 AM
04-01-2011 02:35 AM
I have attached a sequence to give you an idea of how to get the Result count (I didn't check it's working ), I have used "SequenceFilePostResultListEntry" callback to calculate the Result Count,
and the Result Count is passed to the "ModifyReportHeader" through File Globals, where you can edit the XML file to show it in the Repot (follow the link in my previous post).
Hope this helps
AshwiN,