Page 1 of 1

Report.Info in Constructor

Posted: Wed Aug 20, 2014 4:17 pm
by UgaAga
Hi,
it appears to me that the infos which are reported in a constructor are in the console but aren't shown in the report later.

Public Sub New()
Report.Info("Deletes all files in the specified folder.")
End Sub

Is this correct? Can i change this behaviour?

Bye

Re: Report.Info in Constructor

Posted: Thu Aug 21, 2014 3:08 pm
by Support Team
Hi UgaAga,

It is due internal guidelines not recommended to add code to the constructor.
Please use the Init()-method in Recording Modules or the Run()-method in Code Modules in order to execute your desired code.

Regards,
Markus (S)