NisHera
11 years agoValued Contributor
Verification of XML data
Hi, I'm having a new task of verifing XML data.
One of the product of our company generates XML files, which to be uploaded to external web services.
My task is to make sure /test correct data included in XML.
what would be the best approch in your experince?
Just scanning through TC docs, it seems XML check points are to compaire 2 xml documents.
I would be extracting original data form DB as well as application and may be excel files.
One of the product of our company generates XML files, which to be uploaded to external web services.
My task is to make sure /test correct data included in XML.
what would be the best approch in your experince?
Just scanning through TC docs, it seems XML check points are to compaire 2 xml documents.
I would be extracting original data form DB as well as application and may be excel files.
Hi Nishnatha,
You may consider using XSD to validate your XML. It allows you to validate the structure of XML files, the valid values of attributes, etc.
Here is the description of the XML Schema: https://en.wikipedia.org/wiki/XML_Schema_(W3C)