Closed karthikeyanameex closed 8 years ago
@karthikeyanameex could please provide me more details, is the sample code is working fine? or send me your pdfngreport.properties and testng.xml and error messages ....which will help me to debug the issue your facing.
Thanks
Hi uttesh,
I run sample code, but I am not able to see chart in that sample report. Kindly find the below mentioned pdfngreport.properties and testng.xml of mine.
---pdfngreport.properties---
pdfreport.title.text=Sample Automated Test Report pdfreport.title.align=left
pdfreport.file.name=Sample_automated_pdf_report
pdfngreport.time.column.format=MMMM dd YYYY hh:MM:sss
pdfreport.logo=show pdfreport.report.logo.file=C:/Karthikeyan/Automation Projects/Pilot Project/GA/pdfreport/ameexlogo.jpg pdfreport.report.logo.align=right
pdfreport.pie.chart.type=explode
pdfreport.outputdir=./pdfreport
pdfreport.exception.page=show
pdfreport.table.column.time=show pdfreport.table.column.test=show pdfreport.table.column.case=show pdfreport.table.column.timetaken=show pdfreport.table.column.description=show
pdfreport.show.selenium.screenshot.link=show pdfreport.selenium.failed.test.screenshot.outputdir=./FailCaseScreenshot
---testng.xml---
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> suite name="Suite"
parameter name="pdfngreport-properties" value="./pdfngreport.properties"
listeners
listener class-name="com.uttesh.pdfngreport.PDFReportListener"
listeners
test name="Test"
classes
class name="testcases.TC001"
classes
test
suite
Kindly, help me on this problem. Thank you Uttesh.
@karthikeyanameex provide the proper output location
pdfreport.outputdir=./pdfreport
send me the build console output...are u using ant or maven ? send me the console out of the build.
Thanks,
Report Location : ./pdfreportFile Name : Sample_automated_pdf_report.pdf pdf report file path :C:\Karthikeyan\Automation Projects\Live Projects\GA.\pdfreport\Sample_automated_pdf_report.pdf
this is my console output
Hi uttesh,
After giving full path now chart is appear. Thank you for your time and wonderful support. once again thank you, thank you so much
@karthikeyanameex thanks for using the library, Any queries and enhancement feel free add on git and add star if this library is useful to requirement.
Hi uttesh,
I have added the pdfreport.pie.chart.type=explode in my pdfng properties file but still i cannot see the pie chart can someone please tell me what is missing.I also added all maven dependencies in POM.xml.Please help me resolve this issue.
Thank you.