How to test the data appearing in an XML file?
Can someone please guide me, how should I write test cases for a complex XML file?
I have to test an XML file which has various child-subchild elements?
There are many elements which have required attribute, and optional attribute.
How should I test the data generated from application is correct?
Any suggestion.
Sample XML file looks like below
<Business type="regular" time="2015191250">
<ProductList>
<Product Available="True" Name="Book1" Code="BBCD">
<Product Available="False" Name="Book2" Code="BaCD" link="ww.aab.com">
<Product Available="True" Name="Book1" Code="BBCD">
</Productlist>
<CustomerList></CustomerList>
<Address></Address>
</Business>