Validating XML from browser request - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Validating XML from browser request (/Thread-Validating-XML-from-browser-request) |
Validating XML from browser request - flexdev - 04-13-2012 Hi - I'm recording an action on an HTML page. It's a form where I attempt to download a document. I fill in document name and click 'submit'. The page refreshes and returns XML. I'd like to automatically validate the response but don't know how. The response looks like this: Code: <status> I'm using QTP 11. I have my action and then two items in it: 1. The Browser. It has the docName and the submit items. 2. The Browser. It waits for the browser to complete the current navigation. I've attached an image of my workspace. I'm a real newbie and just figuring things out. I'm guessing I should use an XML checkpoint but the videos I've seen don't go into much detail. Can anyone please point me in the right direction? Thank you for any helpful tips. |