| Package | Description |
|---|---|
| com.relevantcodes.extentreports | |
| com.relevantcodes.extentreports.markup |
| Modifier and Type | Method and Description |
|---|---|
DocumentConfig |
ExtentReports.config()
Returns the DocumentConfig object that allows various configurations to be applied
to the report file
|
| Modifier and Type | Method and Description |
|---|---|
DocumentConfig |
DocumentConfig.addCustomStyles(String styles)
Use custom CSS directly for the document to change layout
|
DocumentConfig |
DocumentConfig.addCustomStylesheet(String cssFilePath)
Use a custom stylesheet file with CSS
|
DocumentConfig |
DocumentConfig.chartTitle(Chart chart,
String title)
Allows changing the title of the dashboard charts
|
DocumentConfig |
DocumentConfig.displayCallerClass(Boolean display)
Setting to append the caller class to the log event.
|
DocumentConfig |
DocumentConfig.displayTestHeaders(Boolean display)
Deprecated.
|
DocumentConfig |
DocumentConfig.documentTitle(String title)
Change the title of the report file
|
DocumentConfig |
DocumentConfig.insertJS(String script)
Adds custom scripts to the report
|
DocumentConfig |
DocumentConfig.renewSystemInfo() |
DocumentConfig |
DocumentConfig.reportHeadline(String headline)
Add, remove or modify the report summary
|
DocumentConfig |
DocumentConfig.reportTitle(String title)
Add, remove or modify the report summary
|
DocumentConfig |
DocumentConfig.setImageSize(String percent)
Sets the size of the attached snapshots by percentage.
|
DocumentConfig |
DocumentConfig.statusIcon(LogStatus status,
String newIcon)
Choose to use your own icons for log status (PASS, FAIL, WARNING etc.)
by choosing one of the icons from Fontawesome website:
http://fortawesome.github.io/Font-Awesome/icons/.
|
DocumentConfig |
DocumentConfig.useExtentFooter(Boolean display)
Setting to show or hide the default Extent footer
By default, this is FALSE
|
Copyright © 2015. All rights reserved.