Releasing the first beta version of TestNG PDF Matrices Report
Kushan Shalindra Amarasiri
Director Quality Engineering at Social Catfish
For all of you who were waiting and asking me about the new TestNG PDF Report I have being developing, this is a great news. I have released the first beta version of the TestNG PDF Matrices Report.
The JAR file of the TestNG PDF Matrices Report can be downloaded from the following URL.
Once downloaded add it as an external JAR to your maven java project as follows.
Next create a TestNG Listener class and override the public void onFinish method. Add the following method call.
testngpdf.createReport();
Then add the listener class to your test classes.
@Listeners(kushan.ListenerTest.class)
Add the following dependencies to your POM.xml
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <version>5.0.6</version> </dependency> <dependency> <groupId>com.googlecode.json-simple</groupId> <artifactId>json-simple</artifactId> <version>1.1.1</version> </dependency> <dependency> <groupId>jfree</groupId> <artifactId>jfreechart</artifactId> <version>1.0.13</version> </dependency> <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy</artifactId> <version>3.0.0-beta-3</version> </dependency>
Run your test and the PDF file will be created which will contain your report.
Note - Please note that this is the first Beta release of the library and there are still bug fixes being carried out.
CTO Klantech Software Solutions, Automation Architect at Datwyler IT Services | 12yrs Automation experience
5 年Thanks, was looking for such dependency. Will try and let you know the results
Senior Associate [email protected]
5 年I think fields are missmatched, Please check.
Full Stack Automation Professional
5 年Congratulations