How to generate a PDF report?

1,593 views
Skip to first unread message

Dinesh

unread,
Jan 13, 2011, 4:24:30 PM1/13/11
to testng-users
1) Is it possible for TestNG to generate the report in PDF format?

2) Since the HTML or the XSL report get overridden each time TestNG is
run, I would like to maintain a copy of the report against every run.

Does anyone know how can this be achieved please?

Thanks,
Dinesh

Cédric Beust ♔

unread,
Jan 13, 2011, 4:36:40 PM1/13/11
to testng...@googlegroups.com, Thierry Janaudy
Hi Dinesh,

On Thu, Jan 13, 2011 at 1:24 PM, Dinesh <dinesh.r...@gmail.com> wrote:
1) Is it possible for TestNG to generate the report in PDF format?

Thierry Janaudy once wrote a reporter that generates a PDF file. I'm including the file here, which uses the ITest library.
 

2) Since the HTML or the XSL report get overridden each time TestNG is
run, I would like to maintain a copy of the report against every run.

Does anyone know how can this be achieved please?

Why not move this file in a timestamped directory after each run?

--
Cédric


JyperionListener.java

Kartik Kumar

unread,
Jan 15, 2011, 12:16:01 AM1/15/11
to testng...@googlegroups.com
You can implement IReporter to create a pdf document using iText

On Thu, Jan 13, 2011 at 1:24 PM, Dinesh <dinesh.r...@gmail.com> wrote:

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.


pdfngreport

unread,
Apr 2, 2015, 1:49:40 PM4/2/15
to testng...@googlegroups.com
its four year old post, still i thought to mention the pdf generate library which i wrote and its open source.

NO coding required just configuration in testng xml file.

/http://uttesh.github.io/pdfngreport/
Reply all
Reply to author
Forward
0 new messages