testing - XMLUtil not showing details of mismatched xml attributes -


i using qtp's xmlutil compare 2 xmls. works fine except if there differences in tag elements. example,

in xml1, tag is:

<dirtybondprice pricetype="price" currency="gbp" weight1="02">110</dirtybondprice> 

in xml2, tag is

<dirtybondprice pricetype="price" currency="usd" weight1="02">110</dirtybondprice> 

code snippet

booleanresult = objxml1.compare(objxml2, objresultsxml) objresultsxml.savefile "c:\users\pankaj.jaju\desktop\6.xml" 

so difference show follows

<mic_root state="mismatch">   <repotrade state="mismatch">     <specificdetail state="mismatch">       <dirtybondprice mic_elema_attr="%s=&quot;%s&quot;;%s=&quot;%s&quot;" mic_elemb_attr="%s=&quot;%s&quot;;%s=&quot;%s&quot;" state="mismatch" />     </specificdetail>   </repotrade> </mic_root> 

what expecting (and according qtp file should displayed):

<dirtybondprice mic_elema_attr="currency="gbp"" mic_elemb_attr="currency="usd"" state="mismatch" /> 

is bug in qtp's xmlutil api?

update there uft users out there can verify if problem reproduceable uft? because if qtp bug, won´t have chance patch developed...


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -