Screen shot is not displaying in extent report | Selenium Forum
A
abhi_tec Posted on 28/07/2021
 

I have attached all the java file. Extent report is generating under the particulat folder and also screenshot is also available under the screenshot folder. But screenhot is not displaying in the extent report html file after failed testcases.


A
abhi_tec Replied on 28/07/2021

 

 


A
abhi_tec Replied on 28/07/2021

 

 


Y
Yousuf Syed Replied on 30/07/2021

Are you trying to open the MyReports.html from inside Eclipse? If so, please open it from Windows File Explorer ..C:\..... and then right click and open using a browser.

If you are already doing that, then change your code by appending the screenshot in the test.log statement as follows:

test.log(Status.INFO, msg + logger.addScreenCapture(testbaseforproject.screenshot()));


A
abhi_tec Replied on 02/08/2021

 

I tried but no luck... is it possibe to check the 3 fileds I have attached earlier

 


A
Ashish Thakur Replied on 04/08/2021

Which browser are you using to pen reports

At times it does not work in firefox