08-05-2011 05:51 PM
Currently, I am using the .txt report format. I am using the data from the auto-generated report header and report body strings to create custom report. One thing I noticed is that the failure summary in the default report header only contains information on the first failed step. Unfortunately, I need to present a summary of all failed steps at the beginning of the report.
What variable do I need to access in order to obtain this summary? If the variable is an array or container of all test results, what's the data structure so I know how to parse for the failed steps?
I am using the base sequential model in TestStand 4.2 and I have copied the TestReport callback from the base model and added my own customizations to generate the report. I am new to TestStand (2 months) with no training so how and why explanations are helpful.
Solved! Go to Solution.
08-08-2011 10:35 AM
This might help you get started. The link below shows how to modify the failure chain to include all steps.
http://zone.ni.com/devzone/cda/tut/p/id/4563
Thanks,
PH
08-08-2011 03:34 PM
That definitely looks like what I'm looking for. I'll try it out when I get back to work.
Thanks.
08-09-2011 10:36 AM
The tutorial works with TestStand 4.2.1, just note that the step in Part B of the tutorial is in the "PutOneResultInReport" sequence. Also, the local added in Part A gets added to this sequence.
05-10-2012 05:38 AM
This solution and the tutorial do not work.
I have done all steps, but if i "Check Precondition" or "Check Expression" Teststand reports, that the varibale Parameters.Result.Status or Parameters.Result.Ts.xxxx is unknown
What i am doing wrong?
Thanks in advance.
Lars
05-10-2012 09:07 AM
Parameters.Result.Status is only 'Valid' during runtime and are not valid during editting. These errors can be ignored. Runtime vs edit time is a a common source of confusion in TestStand, for beginners.
Now did you try running a test to see if all the failed steps appear in the Failure chain? Is what you mean doesn't work?
Thanks,
PH