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, stop
getCategoryContextInfo, getEndTime, getExceptionContextInfo, getRunDuration, getStartTime, getStatusCount, getSystemAttributeContext, getTestDisplayOrder, getTestRunnerLogs, loadConfig, loadConfig, loadConfig, loadXMLConfig, loadXMLConfig, setCategoryContextInfo, setEndTime, setExceptionContextInfo, setStartTime, setStatusCount, setSystemAttributeContext, setTestDisplayOrder, setTestRunnerLogs
public ExtentEmailReporter(java.io.File file)
public ExtentEmailReporter(java.lang.String filePath)
public ExtentEmailReporterConfiguration config()
public void start()
ExtentReporter
public void flush()
public ConfigMap getConfigContext()
public void onScreenCaptureAdded(Test test, ScreenCapture screenCapture)
TestListener
test
- Test
objectscreenCapture
- ScreenCapture
objectpublic void onScreenCaptureAdded(Log log, ScreenCapture screenCapture)
TestListener
log
- Log
objectscreenCapture
- ScreenCapture
objectpublic void setTestList(java.util.List<Test> testList)
ReportAggregatesListener
testList
- list of all tests created by ExtentReports
public java.util.List<Test> getTestList()
public java.lang.String getSource()