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

Screenshots for failed test cases are not created automatically #18

Open
kalai-512 opened this issue Jul 26, 2016 · 2 comments
Open

Screenshots for failed test cases are not created automatically #18

kalai-512 opened this issue Jul 26, 2016 · 2 comments

Comments

@kalai-512
Copy link

Hi Uttesh,

I am using your PDF Report generation listener, really thanks to have this contribution it helps a lot.

In pdfngreport.properties file I have enabled the selenium user configuration.

Below setting only for selenium user for selenium failed screen shot link show related

pdfreport.show.selenium.screenshot.link=show
pdfreport.selenium.failed.test.screenshot.outputdir=D:/Selenium/Projects/PDFReport/FailScreenshotNew

But screenshots are not created automatically in specified folder so that in report it's not linked obviously. Please guide me to proceed further with this.

Thanks,
Kalai.

@uttesh
Copy link
Owner

uttesh commented Jul 27, 2016

@kalai-512 thanks, This library wont generate the failed test screen shot, it will use the existing failed screen shots in the provided location and image should be saved with naming standard i.e..

error screen shot/image name standards.

#image type : png
#image name : className + "_" + methodName.

@kalai-512
Copy link
Author

Hi Uttesh thanks a lot for your guidance, I will do accordingly.

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

No branches or pull requests

2 participants