extentreports-testng-adapter icon indicating copy to clipboard operation
extentreports-testng-adapter copied to clipboard

Feature : Screen Shot when scenario failed

Open Dushyant0902 opened this issue 6 years ago • 3 comments

https://stackoverflow.com/questions/56060647/extentreports-testng-adapter-generate-html-report-with-screenshot-if-test-fail

Apologies for adding it here as well, this is not a bug, I don't know how to create a report with screen shot attached. I am using testng and cucumber framework. I am also running my test in parallel.

Can you please help me ?

Dushyant0902 avatar May 09 '19 13:05 Dushyant0902

Is this pertaining to testng or cucumber adapter?

anshooarora avatar Dec 26 '19 00:12 anshooarora

I'm also looking for this for TestNG. Current work around is I created a local copy of the test listener and added code in onTestFailure to take a screenshot

QAthulhu avatar Apr 29 '20 01:04 QAthulhu

Hi, I too looking for the same in TestNG, in Cucumber i was able to attach the screenshot in report successfully i just tried to capture failure in @After method to capture and append to report but no luck, please help on this. Thanks

sseenivasan89 avatar Oct 14 '20 07:10 sseenivasan89