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
)
Public Overrides Function Evaluate (
obj As Object,
objectType As Type
) As Boolean
public:
virtual bool Evaluate(
Object^ obj,
Type^ objectType
) override
abstract Evaluate :
obj : Object *
objectType : Type -> bool
override Evaluate :
obj : Object *
objectType : Type -> bool
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