Converting XML Results to HTML - QTP

QTP creates Test Results in XML format in a proprietary folder structure that can't be viewed without the using QTP's Test Results viewer tool. But results can be converted into HTML format using XSLs. QTP provides three such XSLs which can be used to convert a XML file to HTML:

  • PDetails.xsl
  • PShort.xsl
  • PSelection.xsl

We can apply the first two XSL using the ApplyXSL function created in Chapter "Working with XMLs". Using the PSelection.xsl is beyond the scope of this book.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

QTP Topics