public class ExtentCardsReporterConfiguration extends BasicFileConfiguration implements IReporterConfiguration
levels, reportName, timeStampFormat, usedConfigs
Constructor and Description |
---|
ExtentCardsReporterConfiguration(ExtentCardsReporter 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() |
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 |
getCSS, getDocumentTitle, getEncoding, getJS, setCSS, setDocumentTitle, setEncoding, setJS
getConfigMap, getLevel, getReporter, getReportName, getTimeStampFormat, setLevel, setReportName, setTimeStampFormat
public ExtentCardsReporterConfiguration(ExtentCardsReporter reporter)
public void setProtocol(Protocol protocol)
Default protocol value: HTTPS
protocol
- Protocol, HTTPS or HTTPpublic Protocol getProtocol()
public Theme getTheme()
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.