HP Run Results Viewer 11 don't substitute the data from an external xml file. - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: HP Run Results Viewer 11 don't substitute the data from an external xml file. (/Thread-HP-Run-Results-Viewer-11-don-t-substitute-the-data-from-an-external-xml-file) |
HP Run Results Viewer 11 don't substitute the data from an external xml file. - dondemon - 04-16-2012 HP Run Results Viewer 11 don't substitute the data from an external xml file. And just freezes and closes in the output in a template XSL. In the MS VS 10 debugger XSLT runs correctly and produces the desired text. When debugging, if an error is hovering RRV Code: System.FormatException was unhandled In an external xml file is only two lines: Code: <? Xml version = "1.0" encoding = "windows-1251"?> Here are the lines that need to substitute the text between the tags in a <organization> template result Code: <! [CDATA [for a customer: "]]> In QTP 9 this line is working correctly, and substituted the name of the template. If you remove "<xsl:for-each..." lines,RRV run correctly, but the necessary text will not be. I tried to change the encoding in the xml windows-1251 to UTF. It didn't help. |