28. February 2019
Creating custom HTML/XML/Junit reports
A not well documented - but gladly used - feature is that it is possible to adapt/change the style/content of these reports to the own needs. Nevertheless, in order to do so, basic programming knowledges are inevitably needed.
The HTML/XML/Junit reports are customizable. So the content of the "name" and "package" attribute can get changed.
The HTML/XML/JUnit-Reports are generated via an XSLT-Transformation. The therefore needed XSLT-Sheets are located in the directory
<Path to the QF-Test Installation directory>\qftest\qftest-$(version)\report.
If you are changing these Sheets, you may want to copy/move them to
<Path to the QF-Test Installation directory>\qftest\report.
As the XSLT-Transformation-Sheets in this directory are preferred over the XSLT-Transformation-Sheets in the <Path to the QF-Test Installation directory>\qftest\qftest-$(version)\report directory. Thus, your modified XSLT-Sheets will then also be used by later QF-Test versions. However - as an disadvantage - whenever a new QF-Test version is coming out with any XSLT-Sheets improvements, you will not notice these improvements anymore (as QF-Test will keep using the Sheets in the <Path to the QF-Test Installation directory>\qftest\report directory).
- The XSLT Identity Transformation may be used in order to get the original XML Document out of which the HTML/XML/JUnit-Reports are getting generated: