Releasing the first beta version of TestNG PDF Matrices Report

Releasing the first beta version of TestNG PDF Matrices Report

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.

No alt text provided for this image

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.

No alt text provided for this image

Note - Please note that this is the first Beta release of the library and there are still bug fixes being carried out.

Miltan Vats

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

回复

I think fields are missmatched, Please check.

Ramaraju Kun

Full Stack Automation Professional

5 年

Congratulations

要查看或添加评论,请登录

Kushan Shalindra Amarasiri的更多文章

社区洞察

其他会员也浏览了