Checkpoint is basically a point in the test which validates for truthfulness of specific things in the AUT. There are different types of checkpoints depending on the type of data that needs to be tested in the AUT. It can be text, image/bitmap, attributes, XML etc….
A checkpoint verifies that expected information is displayed in your application while the test is running. Check point can be customized as per the user need and it’s very helpful during testing.
Quick Test professional support wide variety of Checkpoints and user can use the checkpoint as per their need and use can modify the checkpoint whenever required.
QTP Assigned the default name to checkpoint and user can modify as per their convenient.
Quick Test Professional offers the following types of checkpoints: Checkpoint Type Description Example of Use
Standard Checkpoint Checks values of an object’s properties. Check that a radio button is selected.
User can insert the check point in three different ways
1. Active Screen
2. Expert View
3. Keyboard View
Image Checkpoint Checks the property values of an image. Check that the image source file is correct or image name is correct.
Table Checkpoint Checks the information in a table Check that the value in a table cell is correct or not?
Page Checkpoint Checks the characteristics of a Web page. Check how long a Web page takes to load or if a Web page contains broken links.
Page checkpoint can be inserted through standard checkpoint
Text / Text Area Checkpoint:
Text / Text Area Checkpoint Checks that a text string is displayed in the appropriate place in a Web page or application window Check whether the expected text string is displayed in the expected location
Bitmap Checkpoint Checks an area of a Web page or application after capturing it as a bitmap Check that a Web page (or any portion of it) is displayed as expected.
Bitmap checkpoint helps user to compare the two bitmaps and user can complete bitmap as well as part of bitmap.
Database Checkpoint Checks the contents of databases accessed by an application or Web site Check that the value in a database query is correct.
Accessibility Checkpoint Identifies areas of a Web site to check for Section 508 compliancy Check if the images on a Web page include ALT properties, required by the W3C Web Content Accessibility Guidelines.
This is configurable checkpoint and as per the user requirement it can be customized.
XML Checkpoint Checks the data content of XML documents.
Note: XML file checkpoints are used to check a specified XML file; XML application checkpoints are used to check an XML document within a Web page.
How to add a standard check point in your Test
1. Start QuickTest and open your test. In the Open Test dialog box, locate and select your test, then click Open. 2. Save the test as Checkpoint. Select File > Save As. Save the test as Checkpoint. 3. Confirm that the Active Screen option is enabled.
If you do not see the Active Screen at the bottom of the Quick Test window click the Active Screen button or choose View > Active Screen. 4. Locate the page where you want to add a standard checkpoint. 5 Create a standard checkpoint.
In the Active Screen, right-click element in your application and choose Insert Standard Checkpoint.
6 Save the test.