Difference between revisions of "Studio:How do I save the temporary XML file generated by the Reporter?"

From STRIDE Wiki
Jump to: navigation, search
Line 7: Line 7:
 
Using either of these lines in your script "takes a snapshot" of the selected suite or file. The final report is not affected.
 
Using either of these lines in your script "takes a snapshot" of the selected suite or file. The final report is not affected.
  
[[Category:Scripting]]
+
[[Category:Reporting]]

Revision as of 11:13, 29 February 2008

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.