unclear error on converting node type from XPath
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TestPlan |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The below error is what happens when you attempt to use an XPath result in SelectIn if the XPath didn't actually select any nodes. The reason is because the asNode function of TypeEval will check if any nodes were selected, resulting in ?null? if none. This can be very tricky to get an appropriate error message -- it is related to any type conversion, not just for selectIn.
00000006-00 CHECKPOINT-FAIL ScriptParsing-
Parameter: Node
TargetType: Node
Source: %DescNode%
Error: Parameter 'Node' cannot be converted to 'Node'
TestUnit: wicksaircraft.
AutoStack: in {Unknown} in htmlunit at step 0