Skip to main content

I cannot figure out the problem. After the picture, another problem is here. htmlReporter.config() is not working and I'm not able to fix it. 

This is my dependency:

<dependency>
<groupId>com.aventstack</groupId>
<artifactId>extentreports</artifactId>
<version>4.1.5</version>
    htmlReporter.config().setDocumentTitle("eBanking Test Project"); // Tile of report
    htmlReporter.config().setReportName("Functional Test Automation Report"); // name of the report
    htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP); //location of the chart
    htmlReporter.config().setTheme(Theme.DARK);][1]][1]
<dependency>
 <groupId>com.aventstack</groupId>
 <artifactId>extentreports</artifactId>
 <version>4.1.5</version>
</dependency>

And this is HTML reporter config:

htmlReporter.config().setDocumentTitle("eBanking Test Project"); // Tile of report
htmlReporter.config().setReportName("Functional Test Automation Report"); // name of the report
htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP); //location of the chart
htmlReporter.config().setTheme(Theme.DARK);]

And here is the code: enter image description hereScreenshot of the code and errors in IDE

I cannot figure out the problem. After the picture, another problem is here. htmlReporter.config() is not working and I'm not able to fix it. This is my dependency

<dependency>
<groupId>com.aventstack</groupId>
<artifactId>extentreports</artifactId>
<version>4.1.5</version>
    htmlReporter.config().setDocumentTitle("eBanking Test Project"); // Tile of report
    htmlReporter.config().setReportName("Functional Test Automation Report"); // name of the report
    htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP); //location of the chart
    htmlReporter.config().setTheme(Theme.DARK);][1]][1]

enter image description here

I cannot figure out the problem. After the picture, another problem is here. htmlReporter.config() is not working and I'm not able to fix it. 

This is my dependency:

<dependency>
 <groupId>com.aventstack</groupId>
 <artifactId>extentreports</artifactId>
 <version>4.1.5</version>
</dependency>

And this is HTML reporter config:

htmlReporter.config().setDocumentTitle("eBanking Test Project"); // Tile of report
htmlReporter.config().setReportName("Functional Test Automation Report"); // name of the report
htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP); //location of the chart
htmlReporter.config().setTheme(Theme.DARK);]

And here is the code: Screenshot of the code and errors in IDE

More readable
Source Link
IAmMilinPatel
  • 7.8k
  • 7
  • 43
  • 68

[![II cannot figure out the problem. afterAfter the picture, another problem is here. htmlReporter.config() htmlReporter.config() is not working and I'm not able to fix it. This is my dependency. com.aventstack extentreports 4.1.5

<dependency>
<groupId>com.aventstack</groupId>
<artifactId>extentreports</artifactId>
<version>4.1.5</version>
    htmlReporter.config().setDocumentTitle("eBanking Test Project"); // Tile of report
    htmlReporter.config().setReportName("Functional Test Automation Report"); // name of the report
    htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP); //location of the chart
    htmlReporter.config().setTheme(Theme.DARK);][1]][1]

enter image description here

[![I cannot figure out the problem. after the picture, another problem is here. htmlReporter.config() is not working and I'm not able to fix it. This is my dependency. com.aventstack extentreports 4.1.5

    htmlReporter.config().setDocumentTitle("eBanking Test Project"); // Tile of report
    htmlReporter.config().setReportName("Functional Test Automation Report"); // name of the report
    htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP); //location of the chart
    htmlReporter.config().setTheme(Theme.DARK);][1]][1]

enter image description here

I cannot figure out the problem. After the picture, another problem is here. htmlReporter.config() is not working and I'm not able to fix it. This is my dependency

<dependency>
<groupId>com.aventstack</groupId>
<artifactId>extentreports</artifactId>
<version>4.1.5</version>
    htmlReporter.config().setDocumentTitle("eBanking Test Project"); // Tile of report
    htmlReporter.config().setReportName("Functional Test Automation Report"); // name of the report
    htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP); //location of the chart
    htmlReporter.config().setTheme(Theme.DARK);][1]][1]

enter image description here

Source Link
Sm B
  • 13
  • 2

Selenium Extent Reporting Problem

[![I cannot figure out the problem. after the picture, another problem is here. htmlReporter.config() is not working and I'm not able to fix it. This is my dependency. com.aventstack extentreports 4.1.5

    htmlReporter.config().setDocumentTitle("eBanking Test Project"); // Tile of report
    htmlReporter.config().setReportName("Functional Test Automation Report"); // name of the report
    htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP); //location of the chart
    htmlReporter.config().setTheme(Theme.DARK);][1]][1]

enter image description here