gynaecoid
16 years agoNew Contributor
How to verify data inside <![CDATA[ ... ]]>
Hello all!
My question is how can I verify block of data inside ... section by means of XpathMatch or Contains or any other assertion.
For example if I have SOAP response which contains:
<?xml version="1.0" encoding="UTF-8"?><br />...<br /> <dbExtentions><br /> <propertyTable><br /> <property><br /> <propertyName>ExternalTradeId</propertyName><br /> <propertyValue>TLT008901</propertyValue><br /> </property><br /> </propertyTable><br /> <trader><br /> <partyId>BAN_EMCRD</partyId><br /> <userId>SURAGO</userId><br /> <userName>GOP</userName><br /> </trader><br />...<br />...<br /> </dbExtentions><br /> </body><br /></TPML>
I am able to verify a single tag value by simple RegExp:
(?s).*body.*dbExtentions.*propertyTable.*property.*ExternalTradeId .*TLT008901 .*
But what should be done if I need to verify the whole
sections.
Many thx in advance!
My question is how can I verify block of data inside ... section by means of XpathMatch or Contains or any other assertion.
For example if I have SOAP response which contains:
I am able to verify a single tag value by simple RegExp:
(?s).*body.*dbExtentions.*propertyTable.*property.*
But what should be done if I need to verify the whole
Many thx in advance!