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
)
Public Function GetVariable (
name As String,
isRecursive As Boolean
) As String
public:
String^ GetVariable(
String^ name,
bool isRecursive
)
member GetVariable :
name : string *
isRecursive : bool -> string
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:
StringThe 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
VariablesSee Also