How to validate the Expected XML file with Actual
I'm having trouble in comparing 2 XML files(Expected & Actual) while validating services. XML Compare in XMLUtil returns just the match and Unmatch ones but couldn't get the details of the Added or Missing items from Actual XML file. If the returned actual XML returns with reduction in the count or increased in the node count then the compare returns everything as unmatched from the mismatched node position. Basically, it looks like it compares based on the count of nodes.
As the XML file is very big, traversing through XML DOM to read every element and attribute is getting very difficult.
Is there a way through QTP that we can compare 2 XML files and get all the differences (UnMatched,Missed and Added) nodes from the Expected XML File?
Re: How to validate the Expected XML file with Actual