ReportNG HTML report not updating

前端 未结 2 587
时光取名叫无心
时光取名叫无心 2021-01-16 15:25

I am trying to generate the expected HTML report with ReportNG. I have included the necessary jar files (guice, velocity, and reportng) and written a Test class and various

相关标签:
2条回答
  • 2021-01-16 16:18

    To generate reportNG reports please make sure, default TestNG Listeners is disabled.

    It can be done by following the below steps:

    1. Right Click on the project.
    2. Right Click on Properties
    3. Click on TestNG.
    4. You will find an option as "Disable default listeners", check the checbox
    5. Click on "Apply" button, it will show as message as "Project preferences are saved".
    6. Now Click on "OK" button.
    0 讨论(0)
  • 2021-01-16 16:21

    Even i tried using ReportNG, but as per my knowledge, ReportNG is no more used, instead I would suggest, use customized TestNG report format.

    Here are few links, which may be helpful for you,

    https://www.seleniumeasy.com/testng-tutorials/testng-customize-emailable-html-report-example

    https://github.com/cbeust/testng/commit/31cc17da840d31682daae6b283c0a8766c93bd13 ---- In here go through the EmailableReporter.java

    0 讨论(0)
提交回复
热议问题