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 Answer 1

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 and acknowledge you have read our privacy policy.

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