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.

Back to top

Class

ILog

Back to top

Syntax

this.<activity>.Context.UserLogger.Info(message)

Note: This method must always be used with a UserLogger object.

Back to top

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.

Back to top

Return Type

A message displayed in the UserLogger build log in the output pane.

Back to top

Example

this.ConcatenateStringsActivity4.Context.EnvironmentProfile.GetVariablesNames().ToString();
var Variablenames = this.ConcatenateStringsActivity4.Context.EnvironmentProfile.GetVariablesNames();
Context.UserLogger.Info(Variablenames);

Back to top