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