how to compare 2 XML files
Both XMS are request and can be fetched from database as well. I want to compare these 2 in SOA test
Answers
-
The Diff tool is what you use to compare two documents. In this case, you would select "XML" in the "Diff Mode" box.
0 -
Thank you ,
But where would I give the XML1 to be compared with XML2?0 -
Example:
Under Diff mode -> I select XML
Under Regression Control Source ->Editor
Under Ignored Differences-> Do I need to add anything?0 -
The Diff tool has an Input and a Control Source. You choose one document under Input and the other document under Control Source. You will see an Input tab if you add the Diff tool as a test. If your Diff tool is chained to the output of another tool, then the Input is whatever document is passed along that output.
Under Ignored Differences-> Do I need to add anything?
What differences you chose to ignore is entirely up to you.
0 -
Oh i see, I will try , Thanks a lot
0 -
That actually didnt work
0