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

No data generated in Extent reporting for firefox

Open shubautomation opened this issue 1 year ago • 6 comments

Hi @anshooarora ,

I am using Selenium Java - Test NG framework for my Automation. When I am running the Test cases (around 200, batch run through run.xml) , no data is getting generated in Extent report only for Firefox browser. For Chrome Edge is working fine.

Could you please help me here as it is little urgent due to project critical release

Please find the below details:

Versions: selenium-java: 4.15.0 Extent Reporting: 5.0.9 Junit: 4.11 Running Platform: VM - Windows server 2022

image image

shubautomation avatar May 10 '24 06:05 shubautomation

hi @anshooarora ,

Could you please help me here.?

shubautomation avatar May 12 '24 04:05 shubautomation

You haven't provided any details how test information is passed to the report. Can you share your usage?

anshooarora avatar May 12 '24 05:05 anshooarora

You haven't provided any details how test information is passed to the report. Can you share your usage?

Hi @anshooarora,

I am using extent reporting as listener and also running the tests through Run.xml. Please find the POM image.

Is this you want to know? Sorry If I am not able to understand your question.

Firefx version : 125

image

shubautomation avatar May 12 '24 05:05 shubautomation

Can you check if ExtentReporterNG is being invoked?

Is the maven-surefire-plugin under <build> or <reporting>?

anshooarora avatar May 12 '24 05:05 anshooarora

Can you check if ExtentReporterNG is being invoked?

Is the maven-surefire-plugin under <build> or <reporting>?

Hi @anshooarora

Please find the POM.xml. maven-surefire-pluginunder build in POM.

Also, For chrome and Edge , Safari , extent reporting is working fine. Hence ExtentReporterNG is getting invoked I believe.

pom.txt

shubautomation avatar May 12 '24 05:05 shubautomation

Can you debug to be sure it is being invoked for a Firefox test? It is not possible to know exactly what the issue is with the information here.

anshooarora avatar May 12 '24 05:05 anshooarora

Closing this as there was no response. Please feel free to open a new issue if you're continuing to have this issue.

anshooarora avatar Jul 01 '24 21:07 anshooarora