Forum Discussion

azakharov's avatar
azakharov
Contributor
11 years ago

Email Test Results as a small txt file

Is there a way to convert test results to small txt file and email it? I used slPacker and SendMail methods to pack and email an mht file. It works fine when I run just a few test scripts but t...
  • Ryan_Moran's avatar
    11 years ago
    It sounds like you're just looking for a summary of the log file results.

    I would recommend reading the Log.ErrCount and Log.WrnCount properties of the log to compose your email text body. You don't need to include this as a text file attachment to accomplish this.