Jacob_Hassing
16 years agoContributor
add a where clause to assertion
i have below response, where i would like to make following assertion.
i would like to check that in the purchasestatus element where stockStatus = 1210 expectedDelivery should be = 08082010.
is it clear what i mean ? i guess it would look something this in a world i know :-)
(SELECT expectedDelivery from buyResponse where stockStatus = 1210) == 08082010
how should a assert like this be done ? suing script assert or can it be done in a regular expression?
123
1210
08082010
123
1610
07082010
i would like to check that in the purchasestatus element where stockStatus = 1210 expectedDelivery should be = 08082010.
is it clear what i mean ? i guess it would look something this in a world i know :-)
(SELECT expectedDelivery from buyResponse where stockStatus = 1210) == 08082010
how should a assert like this be done ? suing script assert or can it be done in a regular expression?