question

jaineem avatar image
jaineem asked cwhitty answered

iTest Report Size

Hi, I need to customize the html report generated by iTest execution. Basically, my test case has lot of validations, procs and steps, so test report size goes to around 5MB-15MB sometimes. I want a way to decrease this size in some way. These are the options I need: - Though there is an option for not printing a step in the report, can it be done on run time. Can we can have a log level option in parameter file which will switch on/off the detailed logs. - The entire global/local parameter file is listed in the report, is there any way to not include it. - While HPQC integration, is there an option to zip the report and attach or, attach text file instead. Regards, Jainee.
iTestresults and reporting
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

madhuri avatar image
madhuri answered jaineem commented
Hi jai, Please find the answers for your queries. **Though there is an option for not printing a step in the report, can it be done on run time.** Unchecking the option "Include this step and it's children in test reports" in step properties will skip that particular step in the report when we execute the testcase from iTest GUI as well as iTestRT. ![alt text][1] **Can we can have a log level option in parameter file which will switch on/off the detailed logs.** I believe no option in parameter file to switch on/off the detailed logs. **The entire global/local parameter file is listed in the report, is there any way to not include it.** In order to skip the parameters from the test report, please try the steps in the below link: http://itestforums.spirent.com/questions/1674/parameters-in-html-test-report.html **While HPQC integration, is there an option to zip the report and attach or, attach text file instead.** I believe there is no way to publish the test reports to QC by zipping it. [1]: /storage/temp/3818-step.png Thanks, Madhuri

step.png (12.3 KiB)
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jaineem avatar image jaineem commented ·
Hi Madhuri, I went through the link. I didn't understand how to implement "make a copy of the test_report_templates/HTML directory". Can you please be bit more elaborate of what copy I need to make? Regards, Jainee
0 Likes 0 ·
cwhitty avatar image
cwhitty answered

Customizing iTest test reports is now MUCH better! iTest and Velocity both use a template engine called freemarker to synthesize completely customized HTML or XML reports. iTest includes a sample template called "CUSTOM HTML" and Velocity supplies its sample as the default print template. By looking at the template, it's quite easy to see how report from the data model is applied to the template. For details on the data model, see the document at: Spirent-APT-ReportDataModel.pdf

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

madhuri avatar image
madhuri answered jaineem commented
Hi Jainee, It means, before going to modify the default summary.xslt file present under resources->report23->test_report_templates->HTML directory, suggesting to take the back up of the default HTML directory. ![alt text][1] This will help if you would like to revert back to the default settings in future. Thanks, Madhuri [1]: /storage/temp/3854-html.png

html.png (4.6 KiB)
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jaineem avatar image jaineem commented ·
Thanks Madhuri, Got it
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.