public class ExtentAventReporterConfiguration extends BasicFileConfiguration implements IReporterConfiguration
levels, reportName, timeStampFormat, usedConfigs| Constructor and Description |
|---|
ExtentAventReporterConfiguration(ExtentAventReporter reporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
enableOfflineMode(Boolean offline)
Creates the HTML report, saving all resources (css, js, fonts) in the same location, so the
report can be viewed without an internet connection
|
void |
enableTimeline(boolean v)
Enable or disable the Timeline section in the Dashboard view
|
Protocol |
getProtocol() |
Theme |
getTheme() |
String |
getViewStyle() |
void |
setAutoCreateRelativePathMedia(boolean v)
Setting to automatically store screen shots relative to the path.
|
void |
setProtocol(Protocol protocol)
Sets the protocol of accessing CSS/JS resources from CDN
|
void |
setTheme(Theme theme)
Sets the
Theme of the report |
void |
setViewStyle(String viewstyle)
Allows changing the view style.
|
getCSS, getDocumentTitle, getEncoding, getJS, setCSS, setDocumentTitle, setEncoding, setJSgetConfigMap, getLevel, getReporter, getReportName, getTimeStampFormat, setLevel, setReportName, setTimeStampFormatpublic ExtentAventReporterConfiguration(ExtentAventReporter reporter)
public void setProtocol(Protocol protocol)
Default protocol value: HTTPS
protocol - Protocol, HTTPS or HTTPpublic Protocol getProtocol()
public Theme getTheme()
public void setViewStyle(String viewstyle)
viewstyle - An alternate styling view for this templatepublic String getViewStyle()
public void enableTimeline(boolean v)
v - Setting to enable or disable the Timeline section in the Dashboard viewpublic void setAutoCreateRelativePathMedia(boolean v)
/
Report.html
Report.0
- 1.png
- 2.png
Report.1
- 1.png
- 2.png
Report.0 directory will contain media from the 1st run. Report.1 directory will contain media from the 2nd run.
v - Setting to enable this featurepublic void enableOfflineMode(Boolean offline)
offline - Setting to enable an offline accessible reportCopyright © 2018. All rights reserved.