Forum Discussion
Not sure if this fits your needs, but there is a built in method for saving to XML.
You can use the Log,SaveResultsAs method to save as XML.
The log location can be found with the Log.Path property.
- karl_d11 years agoNew Contributor
Thank you for the reply, those will certainly be useful.
I've made some progression, in that it may be possible using this information: http://support.smartbear.com/viewarticle/56317/#Scheme
...to come-up with a method of taking the TestComplete native XML logs and converting them (via some XSL template?) into a JUnit format (such as described here: https://pzolee.blogs.balabit.com/2012/11/jenkins-vs-junit-xml-format/).
I'm completely new to handling XML in this way and have not written an XSL template before. I'm guessing I need to work out some appropriate mapping between the TestComplete XML and the JUnit XML and match this up in the XSL file.
Rest assured, once I do this, I'm posting the solution here! there a various forum and blog entries dotted around the Internet, but nothing that really states a solution. :smileyhappy: