Forum Discussion

fujunxu's avatar
fujunxu
Contributor
10 years ago
Solved

Problem when using Log.SaveResultsAs

I tried to use Log.SaveResultsAs in my script so when there is erro my script can send the error log through email.  But I found that the result file({72032B8B-B283-4530-B081-E3C3A57B53A1} )for Log.Sa...
  • Kateryna's avatar
    10 years ago
    Or you can try mhtml format but without pictures in it - it will be much lighter:


    procedure



    ExportExample;



    var



    FileName : OleVariant;



    begin



    FileName := Project.ConfigPath + 'Log\YourFile.mhtml';



    Log.SaveResultsAs(FileName, 0, false);