how to stop overwrite "emailable-report.html" in testng report

70 views
Skip to first unread message

lavish chhabra

unread,
May 28, 2017, 6:39:46 AM5/28/17
to webdriver
how to stop overwrite "emailable-report.html" in testng report

Krishnan Mahadevan

unread,
May 28, 2017, 6:46:15 AM5/28/17
to webd...@googlegroups.com

You might want to post this question on testng-users testng...@googlegroups.com because this question is related to TestNG and not related to Selenium/WebDriver.

 

To get this done in TestNG you can do the following:

 

  • Make sure you are using TestNG’s latest released version [ 6.11 ]
  • Create an implementation of org.testng.IExecutionListener wherein you write code to rename output/emailable-report.html (or) target/surefire-reports/emailable-report.html

 

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at https://groups.google.com/group/webdriver.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages