public class ExtentEmailReporter extends BasicFileReporter
| Constructor and Description |
|---|
ExtentEmailReporter(java.io.File file) |
ExtentEmailReporter(java.lang.String filePath) |
| Modifier and Type | Method and Description |
|---|---|
ExtentEmailReporterConfiguration |
config() |
void |
flush() |
ConfigMap |
getConfigContext() |
java.lang.String |
getSource() |
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 |
setTestList(java.util.List<Test> testList)
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 ExtentEmailReporter(java.io.File file)
public ExtentEmailReporter(java.lang.String filePath)
public ExtentEmailReporterConfiguration config()
public void start()
ExtentReporterpublic void flush()
public ConfigMap getConfigContext()
public void onScreenCaptureAdded(Test test, ScreenCapture screenCapture)
TestListenertest - Test objectscreenCapture - ScreenCapture objectpublic void onScreenCaptureAdded(Log log, ScreenCapture screenCapture)
TestListenerlog - Log objectscreenCapture - ScreenCapture objectpublic void setTestList(java.util.List<Test> testList)
ReportAggregatesListenertestList - list of all tests created by ExtentReportspublic java.util.List<Test> getTestList()
public java.lang.String getSource()