Saturday, 1 September 2012

L14 - XML Checkpoint


Step 1  <!--[endif]-->Make a sample xml file


Step 2

To set XMl checkpoint (From resource) Goto Menu Insert -> Checkpoint -> XML Checkpoint (From resource)

Step 3 

Option to choose XML file from source will come, choose any xml file saved to the system.

 Step 4

Now a new window will open with name "XML Checkpoint properties", check the check boxes on left side whatever needs to be checked and press Ok.


A line of code will generate for xml check point as below:


XMLFile("Test.xml").Check CheckPoint("Test.xml")

If we run the test case it will pass and if we make some changes in the content of XML checkpoint and run – It will FAIL.