lsmadeux
9 years agoOccasional Contributor
XPathContains assertion failt for path
Good Morning, I am trying validate a piece of data. I am using the "XPath Match" method. In my Declare section, I have: Response/items/e/currentValue/data In my expected section I have: ...
- 9 years ago
Try below "XPath Match" assertion :
XPath Expression :
declare namespace ns1='https://daamachines.riptideio.com/ws/DataStream/00000000-00000000-00600CFF-FF816F55/BN/AO/ctBypassVlvPosSp/Present_Value/';
//ns1:Response/ns1:items/ns1:e/ns1:currentValue/ns1:data/text()Expected Result:
2