Studio:How do I save the temporary XML file generated by the Reporter?
To save the temporary XML file generated by the Reporter, include either of the following in your script:
reporter.Suites.Save("filename"); -- saves the entire XML report to a specified file
reporter.Suites.Item("suite name").Save("file"); -- saves the XML report only for the specified suite
Using either of these lines in your script "takes a snapshot" of the selected suite or file. The final report is not affected.