09-23-2010 06:52 AM
hi,
I am using a modified Reportgen_html.seq file. Everything worked fine for months. Now the problem is that after completing all the automated test cases in TestStand i am not getting the report.Let me make it clear --- we have aroung 230 test cases and the total number of steps is about 1 lakh.
So when we single pass the report only the summary (We have modified the reportgen to show the summary) is showing up and no step results.
Any help will be greatly appreciated.
Regards,
Haris Altaf
09-24-2010 02:49 AM
Haris,
i assume that this issue does not occur if you use the unmodified Reportgen_html.seq from NI.
So the issue is created by the modification done to your Reportgen_html.seq. You will have to dig in there in order to help yourself. I think this article could help you.
hope this helps,
Norbert
09-24-2010 06:37 AM
Thanks for the help
but with the original reportgen_html.seq file "-1700 Out of memory" exception occurs at step "concatinate report header, body and footer" in seqential model.
09-24-2010 07:09 AM
Ok, then you might want to switch to "On The Fly Reporting". Please open the report options dialog and check the checkbox "On-The-Fly Reporting". Additionally, you should open the model options and check the checkbox "Discard Results or Disable Results When Not Required By Model".
Norbert
09-24-2010 09:38 AM
You might have disabled result collection in the station options by accident. Open the station options dialog and look for the checkbox at the bottom of the Execution tab that says "Disable Result Recording for All Sequences". It should be unchecked.
Hope this helps,
-Doug
09-24-2010 10:59 AM
Thanks all for the help
Actually i am getting report for some number of test cases but when test cases exceeds and number of steps exceed 100,000 then we don't get report (due to memory overflow) (error code is given above).
I gona try by loading the steps dynamically and unloading them just after the step execution. I hope it won't slow down the system performance.
09-24-2010 11:45 AM
At some point the report file that's created might be too big to fit in a contiguous block of memory due to the limitations of the 32-bit address space and memory fragmentation. If that's the case, and you are writing your own code for creating and loading the report file, you might need to read and write the file in chunks rather than in a contiguous block of memory. Either that or consider reducing the number of steps for which you record results.
Hope this helps,
-Doug