Forum Discussion

NamrataMane's avatar
NamrataMane
Occasional Contributor
9 years ago

how to send the test result report over mail through Ready API, can someone help

I would like to generate the test result and send the result over mail. 

Please help.

4 Replies

  • groovyguy's avatar
    groovyguy
    Community Hero

    NamrataMane: There are probably a few ways to handle this.


    First, you could leverage the Send Mail Test Step to send an email, but you'd likely need to harvest all of the results you are looking for with a groovy script first. That being said, the Send Mail Test Step is a test in and of itself, and if the email fails for any reason it may give you false positives for the over-all tests.

     

    Another way would be to simply handle everything with a groovy test step. You would have to likely still set up the test step to gather the results via groovy and then use a script to email them.

     

     

    • NamrataMane's avatar
      NamrataMane
      Occasional Contributor

      Thanks for your response, i need to try the solution.

      • sanj's avatar
        sanj
        Frequent Contributor

        why dont you just setup CI and have everyone access to the reports

        For eg Jenkins