QTP provides different checkpoints for verification of different objects or properties. Checkpoints make automation tester life easy to put certain verification anywhere in the script.
in this post we will see the different Checkpoints and will understand the concept of each checkpoints.
Standard Checkpoint checks the property value of an object in your application or Web page. The standard checkpoint helps to put the verification of several objects like buttons, radio buttons, combo boxes, lists, dropdown etc. you can verify the object with the properties, values and attributes lets take an example of button, you can verify its state weather is enable or disable, you can verify by its label and so on..
Image Checkpoint Image checkpoint is used to check the image properties such as image height, width etc. this checkpoint will help you when you want to verify the sizes of the the image like testing thumbnails on the website. or testing of auto-crop features.
Bitmap Checkpoint checks an area of your Web page or application as a bitmap. It will capture an image as Bitmap and stored and during test execution it compares with stored Bitmap. here you can test the Zoom in-out functionality, Drag and drop functionality and even used in many function test cases.
Table Checkpoint checks information within a table. you can verify the different cell values etc. many times Tester need to verify certain parameters in the table if table is dynamically generated in it becomes more challenging to automate. so Table checkpoint helps a lot in such cases.
Text Checkpoint checks that a text string is displayed in the appropriate place on a website. many website shows the values such as currency, labels, variable as label in such cases text checkpoint helps. also you can verify any text on website.
Accessibility Checkpoint identifies areas of your Web site that may not conform to the World Wide Web Consortium (W3C) Web Content Accessibility Guidelines. this checkpoint is not offenly used but it is good catch the issues related WWW compliance.
Page Checkpoint checks the characteristics of a Web page. For example, you can check how long a Web page takes to load or whether a Web page contains broken links.
Database Checkpoint checks the contents of a database accessed by your application. For example, you can use a database checkpoint to check the contents of a database containing flight information for your Web site.
XML Checkpoint checks the data content of XML documents in XML files or XML documents in Web pages and frames.
In Later posts we will see Each checkpoints in detail, so stay tuned…