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

Embed screenshots in report #11

Open
subratkumarmandal opened this issue Jan 24, 2016 · 1 comment
Open

Embed screenshots in report #11

subratkumarmandal opened this issue Jan 24, 2016 · 1 comment
Assignees
Labels

Comments

@subratkumarmandal
Copy link

Is there a way to embed screenshots in report or provide link ?

In my case I take screenshots on test case failure .

What's the way to configure this option ?

@uttesh
Copy link
Owner

uttesh commented Jan 25, 2016

It already there in the library. set the following in the pdfngreport.properties file

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=path to screenshots folder

Please follow below standards to name your screen shot image file name and type from code/manual
image type : png
image name : className + "_" + methodName

sample:
class: sampleTest.java
method name: sumTest

image name: sampleTest_sumTest.png

@uttesh uttesh self-assigned this Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants