Merge pull request #1142 from sidheshenator/python_report_in_tree_view

Python report in tree view
This commit is contained in:
Richard Cordovano 2015-03-26 16:57:07 -04:00
commit 23bf795736

View File

@ -64,6 +64,7 @@ class SampleGeneralReportModule(GeneralReportModuleAdapter):
# Write the result to the report file.
report = open(reportPath + '\\' + self.getRelativeFilePath(), 'w')
report.write("file count = %d" % fileCount)
Case.getCurrentCase().addReport(report.name, "SampleGeneralReportModule", "Sample Python Report");
report.close()
progressBar.increment()
progressBar.complete()