ExtractPropertyTestStepEvaluate Method |
Namespace:
Hummingbird.TestFramework.Automation
Assembly:
Hummingbird.TestFramework.Automation (in Hummingbird.TestFramework.Automation.dll) Version: 1.2.0.0
Syntax public static string Evaluate(
ExtractPropertyPair pair,
AbstractTestItem item,
out bool hasError
)
Public Shared Function Evaluate (
pair As ExtractPropertyPair,
item As AbstractTestItem,
<OutAttribute> ByRef hasError As Boolean
) As String
public:
static String^ Evaluate(
ExtractPropertyPair^ pair,
AbstractTestItem^ item,
[OutAttribute] bool% hasError
)
static member Evaluate :
pair : ExtractPropertyPair *
item : AbstractTestItem *
hasError : bool byref -> string
Parameters
- pair
- Type: Hummingbird.TestFramework.AutomationExtractPropertyPair
The ExtractPropertyPair object specifies how to extract data. - item
- Type: Hummingbird.TestFramework.AutomationAbstractTestItem
The AbstractTestItem object specifies where to extract data - hasError
- Type: SystemBoolean
if set to true the evaluation is failed.
Return Value
Type:
StringThe extracted value from the given condition. If
hasError is true, the error message
See Also