1

I want to send the testNG reports directly through mail to the stakeholders once its complete execution. What is the best possible way for it?

1

There are at least 2 approaches:

  1. If Jenkins is used in your company, you create a job that runs tests and then e-mails report by Email ext plugin.

  2. Or you can add such functionality to @BeforeSuite method with JavaMail.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.