Forum Discussion

tomh_1's avatar
tomh_1
Contributor
9 years ago
Solved

Can you view Test Complete exported logs (html files) in Chrome or Firefox?

Our exported test complete log html files are not rendering in Chrome or Firefox. Adding the --allow-file-access-from-files command line parameter in Chrome has not solved the problem. Is anyone el...
  • tomh_1's avatar
    9 years ago

    I figured it out. After the logs are exported, we programmatically alter testlog.xml and were allowing the default whitespace behavior. This resulted in default indenting to be applied, which caused the rendering trouble in Chrome and Firefox.
    Solution was to set XmlDocument.PreserveWhitespace = true before saving testlog.xml.