Generate PDF Report(Testng/Junit etc.) with any Languages(Java/PHP/Servlet/JSP etc.) by giving html file path


Generating PDF is so simple and free now, You just have to give html path in your URL.



Below is the html code to download PDF, File name given below is:PDFDownload.html
Please change http://youserverpage.html to your html path(Local or server page)




Above html can be implemented by any languages(i.e Java/PHp etc.)


This code can be used in TestNG Report PDF generation by giving Testng-report html file path, this code must be added in listener so that it will generate automatically PDF after run is completed.

Comments

Popular Posts