public class ExtentHtmlReporter extends BasicFileReporter
config() method.categoryContext, configContext, configMap, endTime, exceptionContext, filePath, levels, sc, startTime, systemAttributeContext, templateMap, testList, testRunnerLogs| Constructor and Description |
|---|
ExtentHtmlReporter(java.io.File file) |
ExtentHtmlReporter(java.lang.String filePath) |
| Modifier and Type | Method and Description |
|---|---|
ExtentHtmlReporterConfiguration |
config() |
void |
flush() |
ConfigMap |
getConfigContext() |
java.util.List<Test> |
getTestList() |
void |
onTestStarted(Test test)
Invoked when a test is started using
createTest(args) |
void |
setTestList(java.util.List<Test> reportTestList)
Allows sharing the complete list of tests with the reporter
|
void |
start()
Starts passing run information to the reporter
|
void |
stop()
Stops the reporter.
|
onAuthorAssigned, onCategoryAssigned, onLogAdded, onNodeStarted, onScreenCaptureAddedgetCategoryContextInfo, getEndTime, getExceptionContextInfo, getRunDuration, getStartTime, getStatusCount, getSystemAttributeContext, getTestRunnerLogs, loadConfig, loadConfig, loadConfig, loadXMLConfig, loadXMLConfig, setCategoryContextInfo, setEndTime, setExceptionContextInfo, setStartTime, setStatusCount, setSystemAttributeContext, setTestRunnerLogspublic ExtentHtmlReporter(java.io.File file)
public ExtentHtmlReporter(java.lang.String filePath)
public ExtentHtmlReporterConfiguration config()
public void start()
ExtentReporterpublic void stop()
ExtentReporterpublic void flush()
public void onTestStarted(Test test)
TestListenercreateTest(args)onTestStarted in interface TestListeneronTestStarted in class BasicFileReportertest - Test objectpublic void setTestList(java.util.List<Test> reportTestList)
ReportAggregatesListenerreportTestList - list of all tests created by ExtentReportspublic java.util.List<Test> getTestList()
public ConfigMap getConfigContext()
Copyright © 2016. All Rights Reserved.