Class ScenarioReportCreator
java.lang.Object
de.qytera.qtaf.htmlreport.creator.ReportCreator
de.qytera.qtaf.htmlreport.creator.ScenarioReportCreator
- All Implemented Interfaces:
IReportCreator
HTML report creator for scenarios
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringRoot templateprotected TestScenarioLogCollectionScenario Log CollectionFields inherited from class de.qytera.qtaf.htmlreport.creator.ReportCreator
dateFormat, filename, reportPath -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateReport(TestSuiteLogCollection logCollection, TestScenarioLogCollection scenarioLogCollection) Create scenario reportgetRenderedTemplate(TestSuiteLogCollection logCollection, TestScenarioLogCollection scenarioLogCollection) getReportPath(TestSuiteLogCollection logCollection) Build report pathprotected StringGet root template pathgetTemplateContext(TestSuiteLogCollection logCollection) Get template contextMethods inherited from class de.qytera.qtaf.htmlreport.creator.ReportCreator
createReport, getPebbleTemplate, getRenderedTemplate, persistRenderedTemplate, renderTemplate
-
Field Details
-
rootTemplate
Root template -
scenarioLogCollection
Scenario Log Collection
-
-
Constructor Details
-
ScenarioReportCreator
public ScenarioReportCreator()
-
-
Method Details
-
createReport
public boolean createReport(TestSuiteLogCollection logCollection, TestScenarioLogCollection scenarioLogCollection) Create scenario report- Parameters:
logCollection- Log collectionscenarioLogCollection- Scenario Log Collection
-
getRenderedTemplate
public Writer getRenderedTemplate(TestSuiteLogCollection logCollection, TestScenarioLogCollection scenarioLogCollection) -
getTemplateContext
Description copied from class:ReportCreatorGet template context- Overrides:
getTemplateContextin classReportCreator- Parameters:
logCollection- Logs- Returns:
- Template context
-
getReportPath
Description copied from class:ReportCreatorBuild report path- Overrides:
getReportPathin classReportCreator- Returns:
- report path
-
getRootTemplate
Description copied from class:ReportCreatorGet root template path- Overrides:
getRootTemplatein classReportCreator- Returns:
- root template path
-