04-14-2014 09:27 AM
Hello,
I new to TestStand Framework (Process models).
I would like to configure the process model for my project to include step comments and step requirements for each step in the sequence.
I have seen solutions where sequence callbacks have been used to implement this. But this requires embedding callbacks in the sequence file which I do not wish to.
How do I do this??
Regards
Mitun
Solved! Go to Solution.
04-15-2014 08:56 AM
Hey Mitun,
Is there a reason you cannot use callbacks?
Reporting in TestStand consists of 2 elements: Result Collection and Report Generation. Basically the report is generated on what is collected. The collection occurs during execution time. So basically if your collection doesn't contain the comments and requirements then there is no way a report can be generated with that information (because that information is no longer in memory).
However, since these are static elements of a step you could potentially get away with creating some sort of reporting mechanism to look at the disk copy of the sequence and grab that information using the TestStand API. The idea would be that you would recurse through your result collection and looking at the result properties you could identify which step in which sequence in which sequence file was called. Then go open that sequence file and glean the requirements and comments for that step. Quite honestly this would be a hairy algorithm.
If you were using on the fly reporting you could use the ProcessModelPostResultListEntry callback in the process model and get the step info and put it on the report. This would save you from having to add any callbacks to your client seqeunce file.
Hope this helps,
04-16-2014 02:44 AM
Thanks a lot for the information Jiggs.
The information was very helpful. I used this method to implement it.
If you were using on the fly reporting you could use the ProcessModelPostResultListEntry callback in the process model and get the step info and put it on the report. This would save you from having to add any callbacks to your client seqeunce file.
Hope this helps,
Can you please suggest me reference documents for TestStand process model.
Regards,
Mitun
04-16-2014 08:07 AM
http://www.ni.com/white-paper/2694/en/
http://www.ni.com/white-paper/7958/en/
http://www.ni.com/white-paper/3819/en/
Here are a few. Hopefully you will find them enjoyable.
Regards,