04-11-2011 02:46 PM
Can any one let me know how to store report from a call back function in a sequence ? When I run single pass I get total report from all the call backs. Instead I want to have separate text reports stored for each call back. I am using Teststand 4.2.1.
04-11-2011 04:21 PM
When you say Call back do you mean SequenceCalls from the MainSequence as Sub-sequences?
Or do you mean Callbacks as in PreUUT, PostUUT?
04-11-2011 06:40 PM
Yes, sequence calls from the main sequence.
04-11-2011 08:14 PM
Set the sequence calls to run as new executions.
04-12-2011 09:41 AM - edited 04-12-2011 09:42 AM
To elaborate on what Allen is suggesting, you can use a new execution sequence call combined with the sequential model and the "Single Pass" entry point to have it generate a separate report for that sequence. You should also set the "Wait for Execution to Complete" setting on the advanced settings panel to "Before executing next step".
Another alternative is to customize report generation more drastically either by modifying the process model or overriding the Test Report callback and implementing your own report generation functionality that creates separate files for each sequence call. There is no built-in feature to generate a separate report per sequence call.
Hope this helps,
-Doug