New repository link to generate XSLT report using MAVEN
there is no other link you will have use Ant with maven or some other reports library.
It means now I cannot generate XSLT report with testng integration with maven ?
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.
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 ?
[quote:3uuyyh3y]I am able to generate the XSLT report [/quote:3uuyyh3y] how can you generate xslt reports?
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 ?
[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.
We offer online selenium and UFT/QTP training. The course is very comprehensive and covers every aspect of automation testing with UFT/QTP and selenium. All types of frameworks are covered in depth - data driven framework, hybrid framework, page object model with a live project
© 2020 Whizdom Trainings. All rights Reserved - Powered by Whizdom Trainings