Click or drag to resize

SimpleResponseConditionEvaluate Method

Evaluate the condition by using the object provided as below.

Namespace:  Hummingbird.TestFramework.Automation.ResponseConditions
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public override bool Evaluate(
	Object obj,
	Type objectType
)

Parameters

obj
Type: SystemObject
the object received (not forcedly used then evaluating)
objectType
Type: SystemType
Type of the object.

Return Value

Type: Boolean
True if the evaluation is positive, and False if the evaluation is negative.
Remarks
When evaluating with relational operators like GreaterThan or LessThan, The evaluation mechanism will try to compare at first with numeric values. The any of the expected value or retrieved value is not numeric, an ordinal string comparison will be performed.
See Also