QTP/UFT Support Tip: How to customize the run results report
Extensible Stylesheet Language (XSL) provides the tools to describe exactly which run result information to display and exactly where and how to display, print or export it. The .css file referenced by the .xsl file can be modified to change the appearance of the report (for example, fonts, colors, and so forth).
It is easier to modify the existing .xsl and .css files provided with the Run Results Viewer application, instead of creating the customized files from scratch. The files are located in the HP\Run Results Viewer\dat folder (i.e. C:\Program Files (x86)\HP\Run Results Viewer\dat), and are named as follows:
PShort.xsl: Specifies the content of the run results report printed, or exported to an HTML/DOC/PDF file, when you select the Short option in the Print or Export To File dialog boxes.
PDetails.xsl: Specifies the content of the run results report printed, or exported to an HTML/DOC/PDF file, when you select the Detailed option in the Print or Export To File dialog boxes.
PResults.css: Specifies the appearance of the run results print preview. This file is referenced by the above .xsl files.
To use a customized XSL file:
- In the Run Results Viewer go to File > Export To File.
- In the Export Format section select "User-defined XSL" and browse to the customized .xsl file.
- Click on Export.
Related article: KM00657344
[If this post or any other post helps to resolve your issue or query, mark the thread as solved and give KUDOS to the author for their assistance. ]
(Posts and opinions made here are my own and do not reflect the opinions of my employer HP in any way)