Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Genaralised code for checking the comparision of two xml files having child nodes.
#3
Not Solved
Saket,
Thanks for giving me immediate reply. This code is working fine for comparing of two xml files.I have used XMLUtils code.But one problem what i am facing here is In the XML file which i have uploaded may not contain some tags which is being generated when the file is exported.Now if in a Node in both the files contains same xml tags and if a new tag got generated in the exported file in the node, it is giving as State Added, this is fine but because of this the position of the tags being varied in the nodes and if same tags are present also it is showing as Stae Added.
Uploaded file:
<GoodStudent>Yes</GoodStudent>
<Student100>Yes</Student100>
<DriverTraining>No</DriverTraining>

Exported file:
<DriverTraining>No</DriverTraining>

Here in the exported file the other two tags are not generated, it is fine. But even if driver training is present also it is showing as Driver training added in the result xml.(That means the uploaded file and the exported file will not have same tags)

Please help on this.
Reply


Messages In This Thread
RE: Genaralised code for checking the comparision of two xml files having child nodes. - by Ganta - 11-06-2009, 04:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Please explain how can i expand the nodes in UFT rajeevk7 0 3,246 07-04-2017, 03:47 PM
Last Post: rajeevk7
  SwfTreeview - Color validation for child item YogeshCallappa 0 2,314 11-10-2016, 04:55 PM
Last Post: YogeshCallappa
  Driver Script to control child scripts sumanhyd 1 3,222 07-26-2016, 07:06 PM
Last Post: Ankesh
  UFT 12.50 unable to recognize child objects from a Dialog Class in Firefox jesusisaac 1 3,860 08-20-2015, 11:39 PM
Last Post: ADITI1992
  Child object shwetakondekar 0 2,157 07-01-2015, 03:28 PM
Last Post: shwetakondekar

Forum Jump:


Users browsing this thread: 2 Guest(s)