If you have used JUnit and TestNG before then it would be really simple for you. TestNG is basically JUnit with loads of enhancement. In TestNG when you run a test, you are able to add listeners to it. So, everything gets logged in a file (or displayed on console or whatever you chose). The default listener (Reporter) is XMlReporter
<[login to view URL]>
I want to create my own custom XMLReporter (let's call it ChrisReporter) which will output an XML File in particular XML format I specify. I don't want to use the default format.
An example is there on that website. Code for default XMLReporter is also available (it's free, open source, you can look at it or I can send you the code). You can simply modify this code to suit the XML format that I want.
Or the other option is to use the default XMLReporter and then simlpy transform the generated XML to the format that I want. For those who have used TestNG before and know Java well, it should be only couple of hour work.
Let me know.
Thanks.