AbstractTestItemContext Property |
Gets or sets the test case level Context values. The context is dispatched by the automation engine, and is read-only outside of the Test Cases.
Namespace:
Hummingbird.TestFramework.Automation
Assembly:
Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax [DataMemberAttribute]
public List<Variable> Context { get; }
<DataMemberAttribute>
Public ReadOnly Property Context As List(Of Variable)
Get
public:
[DataMemberAttribute]
property List<Variable^>^ Context {
List<Variable^>^ get ();
}
[<DataMemberAttribute>]
member Context : List<Variable> with get
Property Value
Type:
ListVariable
The list of NameValuePair containing the context of the TestCase
Remarks
TestCase.Context stores TestCase level values generated by the test steps, stored temporary and will be included in the final test report.
Automation engine maintains this list and transfer it to every test cases within the TestCase.
Each test case can store variables into context and use it in later test steps. Context will be cleaned after the Test Case is finished.
To store context variables between test case, please use TestSuite level Context: Context
See Also