extentreports-java icon indicating copy to clipboard operation
extentreports-java copied to clipboard

How to generate report using spark reporter with same levels ( suit - class - test ) as ExtentIReporterSuiteClassListenerAdapter

Open AhmdZanoon opened this issue 2 years ago • 4 comments

I have multiple test classes when running them all test methods shown in tests page sequentailly. I want to show them as classes and on the right i collapse each test with steps as ExtentIReporterSuiteClassListenerAdapter Output what actually happens

image

what i'm trying to achieve image

AhmdZanoon avatar Sep 08 '23 09:09 AhmdZanoon

hello , @anshooarora any feedback on this please . thanks in advance

AhmdZanoon avatar Sep 10 '23 05:09 AhmdZanoon

Can you try with ExtentIReporterSuiteListenerAdapter?

anshooarora avatar Sep 19 '23 23:09 anshooarora

Can you try with ExtentIReporterSuiteListenerAdapter?

Dear @anshooarora

Do u mean use testng adapter ? can you refer to an example if possible ,

AhmdZanoon avatar Sep 20 '23 09:09 AhmdZanoon

Yes, or reference the code here:

https://github.com/extent-framework/extentreports-testng-adapter/blob/master/src/main/java/com/aventstack/extentreports/testng/listener/ExtentIReporterSuiteListenerAdapter.java

anshooarora avatar Sep 20 '23 13:09 anshooarora