Click or drag to resize

UtilitiesParseObject Method

Parses the object with the variables provided in the current scope.

Namespace:  Hummingbird.TestFramework
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public static string ParseObject(
	string template,
	AbstractTestItem testitem,
	out string errorMessage
)

Parameters

template
Type: SystemString
The template text where the variables will be parsed. the variables in the templates is in form of ${VARIABLE_NAME}, if an variable exists in the test scope, it will be replaced by its value.
testitem
Type: Hummingbird.TestFramework.AutomationAbstractTestItem
The AbstractTestItem which may a an AutomationProject, a TestSuite, a TestCase or a TestStepBase
errorMessage
Type: SystemString
The error message.

Return Value

Type: String
Returns the parsed object from template, where the variables are replaced by the values.
See Also