How to use /XmlFormat PathToXmlFile

Jul 29, 2013 at 12:25 PM
I am trying to get my test results into an xml file, using the TST.bat runner. I am doing something like this:

TST.BAT /RunTest test_db test_name /XmlFormat "C:\Test_results.xml"

This keeps failing with the error ”Error generating the TST XML result file.”. What am I doing wrong?
Jul 29, 2013 at 2:34 PM
When I tried to save the xml to the root folder I got a "Error copying the XML resultfile." error. Saving it to the temp folder worked fine.

You might not have permission to create a file in the root folder. Try putting the xml file into the temp folder like this:

TST.BAT /RunTest test_db test_name /XmlFormat "C:\Temp\Test_results.xml"