| Package | Description |
|---|---|
| com.aventstack.extentreports | |
| com.aventstack.extentreports.markuputils |
| Modifier and Type | Method and Description |
|---|---|
ExtentTest |
ExtentTest.fail(Markup m)
Logs an event with
Status.FAIL and custom Markup
such as:
Code block
Label
Table
|
ExtentTest |
ExtentTest.generateLog(Status status,
Markup markup)
Create a non-standard log with details.
|
ExtentTest |
ExtentTest.info(Markup m)
Logs an event with
Status.INFO and custom Markup
such as:
Code block
Label
Table
|
ExtentTest |
ExtentTest.log(Status status,
Markup markup)
|
ExtentTest |
ExtentTest.pass(Markup m)
Logs an event with
Status.PASS and custom Markup
such as:
Code block
Label
Table
|
ExtentTest |
ExtentTest.skip(Markup m)
Logs an event with
Status.SKIP and custom Markup
such as:
Code block
Label
Table
|
ExtentTest |
ExtentTest.warning(Markup m)
Logs an event with
Status.WARNING and custom Markup
such as:
Code block
Label
Table
|
| Modifier and Type | Class and Description |
|---|---|
class |
OrderedList |
| Modifier and Type | Method and Description |
|---|---|
static Markup |
MarkupHelper.createCodeBlock(String code) |
static Markup |
MarkupHelper.createCodeBlock(String code,
CodeLanguage lang) |
static Markup |
MarkupHelper.createCodeBlock(String code1,
String code2) |
static Markup |
MarkupHelper.createCodeBlock(String code1,
String code2,
String code3) |
static Markup |
MarkupHelper.createCodeBlock(String code1,
String code2,
String code3,
String code4) |
static Markup |
MarkupHelper.createCodeBlocks(String[] code) |
static Markup |
MarkupHelper.createJsonCodeBlock(Object o) |
static Markup |
MarkupHelper.createLabel(String text,
ExtentColor color) |
static Markup |
MarkupHelper.createOrderedList(Object o)
Creates an ordered list from one of the following underlying collections
List
Map
Set
|
static Markup |
MarkupHelper.createTable(String[][] data) |
static Markup |
MarkupHelper.createTable(String[][] data,
String cssClass) |
static Markup |
MarkupHelper.createTable(String[][] data,
String[] cssClass) |
static Markup |
MarkupHelper.createUnorderedList(Object o)
Creates an unordered list from one of the following underlying
collections
List
Map
Set
|
static Markup |
MarkupHelper.toTable(Object o) |
static Markup |
MarkupHelper.toTable(Object o,
String cssClass) |
static Markup |
MarkupHelper.toTable(Object o,
String[] cssClass) |
Copyright © 2020. All rights reserved.