public class ExtentEmailReporter extends BasicFileReporter implements SourceProvider
config() method.destination, filePath, templateMapendTime, levels, startTimeconfigContext| Constructor and Description |
|---|
ExtentEmailReporter(File file) |
ExtentEmailReporter(String path) |
| Modifier and Type | Method and Description |
|---|---|
ExtentEmailFormatterConfiguration |
config() |
void |
flush(ReportAggregates reportAggregates)
Write to or update the target source (file, database)
|
String |
getReporterName()
Get the reporter name
|
String |
getSource() |
List<Test> |
getTestListFail() |
List<Test> |
getTestListPass() |
List<Test> |
getTestListSkip() |
void |
setTemplate(EmailTemplate emailTemplate)
Allows selecting from available email templates:
DEFAULT
NEWSLETTER
NEWSLETTER_COMPLETE
|
containsStatus, containsStatus, enforceOfflineMode, getAuthorContextInfo, getCategoryContextInfo, getDeviceContextInfo, getEndTime, getExceptionContextInfo, getFileFile, getFilePath, getFreemarkerConfig, getReportStatusStats, getStartTime, getStatusList, getSystemAttributeContext, getTestList, getTestRunnerLogs, init, loadUserConfig, onAuthorAssigned, onCategoryAssigned, onDeviceAssigned, onLogAdded, onNodeStarted, onScreenCaptureAdded, onScreenCaptureAdded, onScreencastAdded, onTestRemoved, onTestStarted, processTemplate, setFilePath, start, stopgetAnalysisStrategy, getLongRunDuration, getRunDuration, setAnalysisStrategy, setEndTimegetConfigContext, loadConfig, loadConfig, loadConfig, loadXMLConfig, loadXMLConfig, loadXMLConfigpublic ExtentEmailReporter(String path)
public ExtentEmailReporter(File file)
public ExtentEmailFormatterConfiguration config()
public void flush(ReportAggregates reportAggregates)
ExtentReporterflush in interface ExtentReporterflush in class BasicFileReporterreportAggregates - a ReportAggregates objectpublic void setTemplate(EmailTemplate emailTemplate)
emailTemplate - A value from EmailTemplatepublic String getReporterName()
ExtentReportergetReporterName in interface ExtentReporterpublic String getSource()
getSource in interface SourceProvidergetSource in class BasicFileReporterCopyright © 2018. All rights reserved.