From dca20e80cd49fdf9f53aa0dbc4ac7da5fff66c8c Mon Sep 17 00:00:00 2001 From: sidheshenator Date: Thu, 26 Mar 2015 14:11:40 -0400 Subject: [PATCH] python report module shows up in the tree --- pythonExamples/reportmodule.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pythonExamples/reportmodule.py b/pythonExamples/reportmodule.py index 0b0ee8c8f7..566ad0f1c3 100755 --- a/pythonExamples/reportmodule.py +++ b/pythonExamples/reportmodule.py @@ -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() \ No newline at end of file