Hi There,
How to extract attributes from the below xml
<?xml version="1.0" encoding="UTF-8"?>
<p:justRequest
xmlns:p="http://abcd.com/xsd/api/okay/wait/v1/service"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://abcd.com/xsd/api/okay/wait/v1/service details.xsd"> <attribute1>value1</attribute1>
<attribute2>value2</attribute2>
<attribute3>value3</attribute3>
</p:justRequest>
have tried the following:
${request} must match XPath /justRequest/attribute1
${request} must match XPath /justRequest/@attribute1
${request} must match XPath /ns:values/ns:value/ns:attribute1/text()
${request} must match XPath /p:justRequest/attribute1
no luck. please help!!!