Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature : Screen Shot when scenario failed #4

Open
Dushyant0902 opened this issue May 9, 2019 · 3 comments
Open

Feature : Screen Shot when scenario failed #4

Dushyant0902 opened this issue May 9, 2019 · 3 comments
Labels
question Further information is requested

Comments

@Dushyant0902
Copy link

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 ?

@anshooarora
Copy link
Member

Is this pertaining to testng or cucumber adapter?

@anshooarora anshooarora added the question Further information is requested label Dec 26, 2019
@QAthulhu
Copy link

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

@sseenivasan89
Copy link

sseenivasan89 commented Oct 14, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants