Hi i have 2 xmls
xml1=
<ABRQ>
<HDR></HDR>
<REQUEST>
</REQUEST>
</ABRQ>
XML2=
<CONTRACT>
<ID/>
<NUMBER/>
<OWNER/>
</CONTRACT>
i want xml2 to be an element in xml1 . the result should be
<ABRQ>
<HDR></HDR>
<REQUEST>
<CONTRACT>
<ID/>
<NUMBER/>
<OWNER/>
</CONTRACT>
</REQUEST>
</ABRQ>
please use VBSCRIPT commands as the QTP testing tool uses vbscript only.
xml1=
<ABRQ>
<HDR></HDR>
<REQUEST>
</REQUEST>
</ABRQ>
XML2=
<CONTRACT>
<ID/>
<NUMBER/>
<OWNER/>
</CONTRACT>
i want xml2 to be an element in xml1 . the result should be
<ABRQ>
<HDR></HDR>
<REQUEST>
<CONTRACT>
<ID/>
<NUMBER/>
<OWNER/>
</CONTRACT>
</REQUEST>
</ABRQ>
please use VBSCRIPT commands as the QTP testing tool uses vbscript only.
Comment