Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
Absent Member.. bobando Absent Member..
Absent Member..
792 views

QTP/UFT Support Tip: How to customize the run results report

Hello everyone,

 

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:

 

  1. In the Run Results Viewer go to File > Export To File.
  2. In the Export Format section select "User-defined XSL" and browse to the customized .xsl file.
  3. Click on Export.

 

Related article: KM00657344

 

Thanks

HP | Unified Functional Testing Engineer

[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)
Labels (2)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.