03-25-2008, 03:01 AM
1. XML Checkpoints check the expected data within XML elements, Attributes, and their values. You can also enable XML and Schema Validation within each XML checkpoint.
2. So if your XML response should contain certain information, you can add an XML checkpoint to make sure the values are correct. Example: make sure <user>Joe</user> is returned
3. UPdate Run Mode means that it will update the XML checkpoint structure in the event that new XML elements are added to a response. When you add an XML checkpoint, it takes a snapshot of all the elements that are in an XML request or response. If the XML is updated to add more element names, the test will fail if you dont update the element structure. Update mode will let QTP update the checkpoint to use the NEW structure but You will need to check your expected checkpoint values again
2. So if your XML response should contain certain information, you can add an XML checkpoint to make sure the values are correct. Example: make sure <user>Joe</user> is returned
3. UPdate Run Mode means that it will update the XML checkpoint structure in the event that new XML elements are added to a response. When you add an XML checkpoint, it takes a snapshot of all the elements that are in an XML request or response. If the XML is updated to add more element names, the test will fail if you dont update the element structure. Update mode will let QTP update the checkpoint to use the NEW structure but You will need to check your expected checkpoint values again