mardi 24 décembre 2019

TestNG is not sending the latest emailable-report.html

@Aftertest @AfterSuite @AfterClass Nothing is helpful in my case when we talk about sending the latest reports in the email.

@AfterSuite
    public void statusupdate() throws Exception 
    {
                SendMail.execute();
    }

This is what I am doing and every time I am getting an older version of my emailable-report.html as I am struggling with JAVA as well so hopefully someone can help me understanding what is wrong here. My assumption is I am sending the email before the fresh report is generated but have no clue what to do next. Thanks for the patience and your replies.

Aucun commentaire:

Enregistrer un commentaire