Info method
Relevant for: API testing only
Description
Reports the selected information to the UserLogger build log in the Output pane.
Note: You can also use other common .NET logging options. For details, see http://www.codeproject.com/Articles/140911/log4net-Tutorial.
Class
ILog
Syntax
this.<activity>.Context.UserLogger.Info(message)
Note: This method must always be used with a UserLogger object.
Parameters
Parameter | Description |
---|---|
Message | A string or value to report. You can use other code strings in this parameter to report the run-time value of any object, property, parameter, or variable in run-time. |
Return Type
A message displayed in the UserLogger build log in the output pane.
Example
this.ConcatenateStringsActivity4.Context.EnvironmentProfile.GetVariablesNames().ToString();
var Variablenames = this.ConcatenateStringsActivity4.Context.EnvironmentProfile.GetVariablesNames();
Context.UserLogger.Info(Variablenames);