AbstractTestItemVariables Property |
Gets or sets the variables in the current test scope (Test Step, Test Case or Test Suite).
Namespace:
Hummingbird.TestFramework.Automation
Assembly:
Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax [IgnoreDataMemberAttribute]
public ObservableCollection<Variable> Variables { get; }
<IgnoreDataMemberAttribute>
Public ReadOnly Property Variables As ObservableCollection(Of Variable)
Get
public:
[IgnoreDataMemberAttribute]
property ObservableCollection<Variable^>^ Variables {
ObservableCollection<Variable^>^ get ();
}
[<IgnoreDataMemberAttribute>]
member Variables : ObservableCollection<Variable> with get
Property Value
Type:
ObservableCollectionVariable
A list of NameValuePair containing the Name and the Value of the variable.
Remarks
The evaluation will start from the current scope, if the variable is not found, it will find on its parent scope.
For example, if a TestCase needs to get the value of an variable, it will try to find in the current TestCase, then parent TestSuite. In no case, the evaluator will find in its Test Steps, another Test Case or another Test Suite.
Hummingbird Test Framework will replace tokens with the values that represent in Variables, but Context not.
See Also