Forum Discussion

Andy_Omelyanenk's avatar
Andy_Omelyanenk
New Contributor
11 years ago

Why aren't there pictures in the Error Log?

Ok, I've got this:




procedure GeneralEvents_OnLogError(Sender; LogParams);


var img;


begin


  img := Sys.Desktop.Picture();


  img.SaveToFile('c:\temp\123.jpg');


  Log.Picture(Sys.Desktop.Picture(), 'Error Screenshot');


end;



It properly saves the error snapshot into c:\temp\123.jpg

but it doesn't seem to attach the picture into the Error Log.





What Am I doing wrong?

1 Reply

  • I finally found it: in the Test Log viewer there is this Picture tab which was buried down and wasn't quite noticible - I just needed to click it