附加的 XML 示例,在附加的 XML 中,我想验证标签元素的存在,例如:PayloadList/IFXResp/IFX/GeneralStatus/StatusCode
如果有人可以帮助我获得上述 xpath 代码,那就太好了。在 vbscript/UFT 中查找代码以打印标记元素名称
<?xmlversion="1.0" encoding="UTF-8"?>
<PayloadList>
<Payload>
<IFXResp>
<IFX>
<GeneralStatus>
<StatusCode>0</StatusCode>
<StatusLevel>IFX</StatusLevel>
<StatusDesc>The request was processed successfully.</StatusDesc>
</GeneralStatus>
<Status>
<StatusCode>0</StatusCode>
<Severity>Info</Severity>
<StatusDesc>The request was processed successfully.</StatusDesc>
<SupportUID>DD2B1DFF-57657657-6767-8013-C9787878AF00</SupportUID>
</Status>
<SignonRs>
</IFX>
</IFXResp>
</Payload>
</PayloadList>