Monday, July 7, 2008

How to create XML checkpoint in QTP?


To create a XML (Web Page/Frame) checkpoint:

Choose Insert > Checkpoint > XML Checkpoint (Web Page/Frame) > Click a Web page or frame to check the XML documents associated with the page. XML Checkpoint Properties dialog box opens.



Select the XML document you want to check, and click OK.

The XML Checkpoint Properties dialog box opens.


Select the element(s), attribute(s), and/or value(s) that you want to check. For each element you want to check, select the checks you want to perform. For each attribute or value you want to check, select the checks you want to perform, or the parameterization options you want to set. If you want to check that the XML structure adheres to a specific XML schema, click Activate Schema Validation and set the required options. > Click OK to add the XML checkpoint.

No comments: