NYefimov
18 years agoOccasional Contributor
assertion
Ole,
how would you implement an assertion against a value in the property step?
Can it be done in a XPath Match assertion (without groovy script ) something like this? (I just copied from XPath assertion)
declare namespace ns1='http://services.tvguide.com/v2.5/common/types';
declare namespace ns2='http://services.tvguide.com/v2.5/listings';
//ns2:GetProgramDetailsResponse/ns2:GetProgramDetailsResult/ns1:ClientBatchId
data.ClientBatchId
where data is a property step name
and ClientBatchId is the property name
(basically how would you refer to your property in a standard XPath assertion?)
How would you do that with groovy?
Thanks
how would you implement an assertion against a value in the property step?
Can it be done in a XPath Match assertion (without groovy script ) something like this? (I just copied from XPath assertion)
declare namespace ns1='http://services.tvguide.com/v2.5/common/types';
declare namespace ns2='http://services.tvguide.com/v2.5/listings';
//ns2:GetProgramDetailsResponse/ns2:GetProgramDetailsResult/ns1:ClientBatchId
where data is a property step name
and ClientBatchId is the property name
(basically how would you refer to your property in a standard XPath assertion?)
How would you do that with groovy?
Thanks