public class ExtentHtmlReporter extends BasicFileReporter implements ReportAppendable
config() method.| Constructor and Description | 
|---|
ExtentHtmlReporter(java.io.File file)  | 
ExtentHtmlReporter(java.lang.String filePath)  | 
| Modifier and Type | Method and Description | 
|---|---|
ExtentHtmlReporterConfiguration | 
config()  | 
boolean | 
containsStatus(Status status)  | 
void | 
flush()  | 
ConfigMap | 
getConfigContext()  | 
java.util.List<Test> | 
getTestList()  | 
void | 
onScreenCaptureAdded(Log log,
                    ScreenCapture screenCapture)
Invoked each time a screenshot is added to log 
 | 
void | 
onScreenCaptureAdded(Test test,
                    ScreenCapture screenCapture)
Invoked each time a screencapture is added to test 
 | 
void | 
setAppendExisting(java.lang.Boolean b)  | 
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 
 | 
onAuthorAssigned, onCategoryAssigned, onLogAdded, onNodeStarted, onScreencastAdded, onTestStarted, stopgetCategoryContextInfo, getEndTime, getExceptionContextInfo, getRunDuration, getStartTime, getStatusCount, getSystemAttributeContext, getTestDisplayOrder, getTestRunnerLogs, loadConfig, loadConfig, loadConfig, loadXMLConfig, loadXMLConfig, setCategoryContextInfo, setEndTime, setExceptionContextInfo, setStartTime, setStatusCount, setSystemAttributeContext, setTestDisplayOrder, setTestRunnerLogspublic ExtentHtmlReporter(java.lang.String filePath)
public ExtentHtmlReporter(java.io.File file)
public ExtentHtmlReporterConfiguration config()
public void start()
ExtentReporterstart in interface ExtentReporterpublic void flush()
flush in interface ExtentReporterpublic void onScreenCaptureAdded(Test test, ScreenCapture screenCapture) throws java.io.IOException
TestListeneronScreenCaptureAdded in interface TestListenertest - Test objectscreenCapture - ScreenCapture objectjava.io.IOException - Exception thrown if the media object is not foundpublic void onScreenCaptureAdded(Log log, ScreenCapture screenCapture) throws java.io.IOException
TestListeneronScreenCaptureAdded in interface TestListenerlog - Log objectscreenCapture - ScreenCapture objectjava.io.IOException - Exception thrown if the media object is not foundpublic void setTestList(java.util.List<Test> reportTestList)
ReportAggregatesListenersetTestList in interface ReportAggregatesListenerreportTestList - list of all tests created by ExtentReportspublic java.util.List<Test> getTestList()
public boolean containsStatus(Status status)
public ConfigMap getConfigContext()
public void setAppendExisting(java.lang.Boolean b)
setAppendExisting in interface ReportAppendable