Click or drag to resize

AbstractTestItemGetVariable Method

Gets the variable from the given context.

Namespace:  Hummingbird.TestFramework.Automation
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public string GetVariable(
	string name,
	bool isRecursive
)

Parameters

name
Type: SystemString
The name of the variable, case sensitive.
isRecursive
Type: SystemBoolean
if set to true the search of variable will be performed also to its parent items.

Return Value

Type: String
The Value of the variable specified in name parameter. If the variable is not found, the value is .
Remarks
When isRecursive is marked as , The search will be performed on current level and all parent levels until the Project. The CustomVariables is more priority than Variables
See Also