Questions tagged [extentreports]

ExtentReports is an open-source reporting API for Java and .NET. It creates interactive HTML report of your test session

ExtentReports is an open-source reporting API for Java and .NET. It creates interactive HTML report of your test session.

You can find the documentation here

468 questions
6
votes
2 answers

Difference between Tests and Steps in testng extent report

I'm confused in difference between Tests and Steps in testng extent report. I have 2 test cases as 1 pass and 1 fail. In extent report under Test: 1 test(s) passed 1 test(s) failed, 0 others and under Steps: 1 step(s) passed 2 step(s) failed, 0…
Rabikatha
  • 249
  • 5
  • 9
5
votes
1 answer

How to add thumbnail of Base64 image in Selenium Extent report

I been using the base64 image for screenshots to be attached in my HTML extent report. The code i been using is given below. Screenshot file = ((ITakesScreenshot)driver).GetScreenshot(); string image = file.AsBase64EncodedString; exTest.Fail(msg,…
shaz sanz
  • 49
  • 5
5
votes
1 answer

How to rename generated multiple report file names for extentreport version 4.0.3?

Using extent report version 4.0.3, multiple reports files are generates (dashboard.html, index.html etc). We need to append date and time stamp to each report file. Using version 3.1.3, i am able to append date and time stamp to file name as there…
5
votes
9 answers

ExtentReports - screenshot not in the report - broken image

I'm trying to add a screenshot to my ExtentReport HTML file, but for some reason, the image is not there even though it DOES exist and the console shows that it's looking at the correct place (href is correct). This is the latest trial…
StopTheRain
  • 367
  • 1
  • 5
  • 15
4
votes
1 answer

How to integrate TestNG or Extent reports with Azure devops?

There is option for JUnit reports to integrate with Devops, is there a way to integrate TestNG or Extent reports with Azure devops?
Nesa Kumar
  • 41
  • 1
  • 2
4
votes
1 answer

Karate Extent Report integrtion

Karate -junit will provide Reports as BDD. We have new requirement to push this report to Report server KLOV(Extent Reports). Is this possible to with listener's? please let know the documentation. Integration Extent Report with Karate frame work.
rama
  • 75
  • 6
4
votes
4 answers

How to get the current class driver in ItestListener

I am working with ExtentReports and ItestListener for my testng-selenium-java project, My listener takes screenshot for the failes test case for ExtentReports but the problem is that I have multiple classes in my testng.XML and I run them in one…
kritika agarwal
  • 505
  • 1
  • 6
  • 11
4
votes
3 answers

How to display test name under Extent Report instead of Method Name?

In the Extent Report, I want to display the name of test instead of method name. So I found a solution, added a test name attribute for @Test annotation Problem 1: In the report I see null being returned for getTestName method. Problem 2: I am not…
4
votes
3 answers

How to print logs by using ExtentReports listener in java?

Here I am using the listener for generating reports in HTML format but it is not printing the logs present in a test case. Sample Test Cases @Test public void testRedirectAllControlScreen() throws Exception { reportLog("login using a valid…
Vaibhav_Sharma
  • 546
  • 1
  • 9
  • 22
4
votes
2 answers

Configuring ExtentReports to provide accurate test statuses and screenshot on failure

I am having some difficulty tweaking ExtentReports to provide the desired output. I have a simple test framework with TestNG, using a TestBase class to do the heavy lifting to keep tests simple. I wish to implement ExtentReports in a simple…
Steerpike
  • 1,712
  • 6
  • 38
  • 71
4
votes
12 answers

Extent Report no generating html

Hi I am trying to create report through Extent Report; the code gives no error and runs successfully but there is no html report generated. Can anyone please help below is my code - package ca.automation.com; import…
3
votes
1 answer

What is the difference between com.aventstack and com.relevantcodes dependencies of Extent Reports

Following two dependencies can be used for intergrate Extent Reports into Maven Project.      com.aventstack      extentreports      3.1.5
3
votes
1 answer

Is Extent report version 5 now available or not?

Extent report version 5.0.0 and 5.0.1 available in mvnrepository.com but documentation not available in extentreports.com. Explain me it is the real update or not?
Vaitheeswaran
  • 87
  • 1
  • 2
  • 13
3
votes
6 answers

How to attach screenshot to Extent Report in java selenium

I am trying to attach screenshot for failed testcases from my path to Extent Report but somehow i am not able to attach into it. I have tried my possible solution but it fails . I have used extent report version 3 here is mine full code in separate…
user11783025
3
votes
0 answers

Extent test report V3 (junit4) - Troubleshoot with appending test cases under 1 class into unique report

I have problem with appending tests into a test report. I just wanted to do the most basic steps, so I wrote 4 tc. When I run them and open the report, every time they are duplicated in the report. I am using extent report version 3 and Junit4 and I…
1
2 3
31 32