NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Report not generating (.Net Adapters used)

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

0 Kudos
Message 1 of 7
(3,881 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 7
(3,863 Views)

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.

0 Kudos
Message 3 of 7
(3,856 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 7
(3,853 Views)

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

0 Kudos
Message 5 of 7
(3,842 Views)

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.

0 Kudos
Message 6 of 7
(3,833 Views)

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

0 Kudos
Message 7 of 7
(3,831 Views)