New repository link to generate XSLT report using MAVEN | Selenium Forum
M
Posted on 18/09/2015
Hi

Can you please give me the new repository link to generated the XLST report -TestNG with MAVEN

Below link do not exist

https://github.com/cosminaru/reporty-ng/raw/master/dist/maven

I was using the above link in following plugin

<pluginRepositories>
<pluginRepository>
<id>reporty-ng</id>
<url>https://github.com/cosminaru/reporty-ng/raw/master/dist/maven</url>
</pluginRepository>
</pluginRepositories>

M
Replied on 18/09/2015

there is no other link you will have use Ant with maven or some other reports library.


M
Replied on 19/09/2015

It means now I cannot generate XSLT report with testng integration with maven ?


M
Replied on 19/09/2015

XSLT sadly no but there are other great libraries.



go to this link <http://relevantcodes.com/testng-listener-using-extentreports/>
2. create class "ExtentReporterNG". This is Listener class and put second block code in it from upper link and save it.
3. put ExtentReporterNG this listener in your testneg.xml. change package name with your package name.
<listeners>
<listener class-name="package.ExtentReporterNG" />
</listeners>
4. Add dependency in you POM.xml
<!-- Extent Reports -->
<dependency>
<groupId>com.relevantcodes</groupId>
<artifactId>extentreports</artifactId>
<version>2.04</version>
</dependency>

5. now open cmd prompt and go to your project location and run command "mvn compile" and after it run "mvn package"
6. go in eclipse and refresh your project and run your testng.xml
7. after running refresh your project and check report in test output folder.
8. a folder generate with your class name. check extent.html in it and open this in web browser.


M
Replied on 11/10/2015

Hi

I am able to generate the XSLT report but since you gave me the solution so do you mean that using maven we cannot generate the XSLT report in future ?


M
Replied on 12/10/2015

[quote:3uuyyh3y]I am able to generate the XSLT report [/quote:3uuyyh3y]

how can you generate xslt reports?


M
Replied on 12/10/2015

Sorry,

Actually, I type wrong in my earlier conversation



I mean to say that I am able to generate the Extend Report but since you gave me the solution so do you mean that using maven we cannot generate the XSLT report in future ?


M
Replied on 12/10/2015

[quote:17y4jhei]do you mean that using maven we cannot generate the XSLT report in future ?[/quote:17y4jhei]

yes, you cannot make XSLT reports using maven.