[RM]Feature Add th2Report to ScriptReportWithLogs
MODIFY
BackEnd/Core/sailfish-core/src/main/java/com/exactpro/sf/scriptrunner/AbstractScriptRunner.java
BackEnd/Core/sailfish-core/src/main/java/com/exactpro/sf/scriptrunner/AbstractScriptRunner.java
@@ -271,7 +271,9 @@ public abstract class AbstractScriptRunner implements IDisposable {
aggregateReportListeners.add(new ReportDictionaries(reportFolder));
//services report
aggregateReportListeners.add(new ReportServices(reportFolder));
-
+ //th2 report
+ aggregateReportListeners.addAll(sfContext.getScriptReportLoader().createScriptReports(
+ reportFolder, workspaceDispatcher, dictionaryManager, scriptDescription));
BroadcastScriptReport aggregateReport = new BroadcastScriptReport(aggregateReportListeners);
reportListeners.add(new ScriptReportWithLogs(aggregateReport, settings.getExcludedMessages()));
@@ -280,8 +282,6 @@ public abstract class AbstractScriptRunner implements IDisposable {
reportListeners.addAll(userListeners);
}
- reportListeners.addAll(sfContext.getScriptReportLoader().createScriptReports(reportFolder, workspaceDispatcher, dictionaryManager, scriptDescription));
-
// NOTE: ZipReport must be latest
reportListeners.add(new ZipReport(reportFolder, workspaceDispatcher, scriptDescription, ReportOutputFormat.ZIP));

[RM]Feature #75746. Add th2Report to ScriptReportWithLogs

Change-Id: I56fdf3b62490fb5ab67792f1a4b0337ae793e9f2