O'Reilly logo

TestNg Beginner's Guide by Varun Menon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – generating a Reporty-ng report

  1. Open the previously created SampleReport in Eclipse.
  2. Download the Reporty-ng from the URL: https://github.com/cosminaru/reporty-ng

    Note

    At the time of writing this book the latest version available was Reporty-ng 1.2. You can download a newer version if available. Changes in the installation process should be minor if there are any at all.

  3. Unzip the downloaded zip and copy a file named testng-results.xsl from src\main\resources onto the resources folder under the said project.
  4. Copy the JARs saxon-8.7.jar and SaxonLiason.jar from the unzipped Reporty-ng lib folder to the project lib folder.
  5. Create a new Ant XML configuration file named reporty-ng-report.xml and paste the following code onto it:
    <project ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required