Forum Discussion

nisgupta's avatar
nisgupta
Valued Contributor
6 years ago

Testcomplete + sending the log by email if there is failure

has anyone sent the email from Testcomplete script if there is error or failure ?

 

Thanks

Nishchah

  • nisgupta's avatar
    nisgupta
    6 years ago

    Finally Support Team has resolved the issue in TestCOmplete 14.20. If we want to export the log of current  TestITems in MHT format then we can use the following function

     

    Log.SaveResultsAs(outfile, lsMHT, true, 2);

    • nisgupta's avatar
      nisgupta
      Valued Contributor

      I did not get it .

       

      I have a project . In the project i have 3-4 scripts . Once the script finished running . After that if there are errors then how can we ask testcomplete to send the email . if there are no errors then we do not want to send the email 

      • Marsha_R's avatar
        Marsha_R
        Moderator

        Show us the steps you tried to send the email when it failed.  It's hard to try to find an answer when we don't know what you are doing.