Studio:How do I save the temporary XML file generated by the Reporter?

From STRIDE Wiki
Revision as of 11:13, 29 February 2008 by Timd (talk | contribs)
Jump to: navigation, search

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.