After we add a checkpoint, QuickTest adds a checkpoint to the current row in the Keyword View and adds a Check CheckPoint statement in the Expert View.
By default, the checkpoint name receives the name of the test object on which the checkpoint is being performed. We can change the name of the checkpoint if
needed.
Types of Checkpoints:
- Standard checkpoint
- Image checkpoints
- Bitmap Checkpoint
- Table checkpoints
- Accessibility Checkpoint
- Text Checkpoint
- Page Checkpoint
- Database Checkpoint
- XML checkpoints
Standard checkpoints allow checking the object property values in the Web site or application under test. Standard checkpoints evaluate (compare) the expected values of object properties captured during recording to the object's current values during a run session. For
example we can check that a radio button is activated after it is selected. Standard checkpoints are supported for all add-in environments.
Standard checkpoints can be used to perform checks onImages,Tables,Web page properties, andOther objects within your application or Web site.
Standard checkpoints can be created for all supported testing environments (as long as the appropriate add-in(s) are loaded).
Image checkpoints allow you to check the properties of an image in the application or Web page. For example, you can check that a selected image's source file is correct or not. An image checkpoint can also be created by inserting a standard checkpoint on an image object. Image checkpoints are supported for the Web add-in environment
Bitmap Checkpoint we can check an area of a Web page or application as a bitmap. While creating a test, we have to specify the area to check by selecting an object. An entire object or any area within an object can be checked. Bitmap checkpoints are supported for all add-in environments
By adding table checkpoints to the test, we can check the content of tables displayed in the application. For example, we can check that a specified value is displayed in a certain cell. Certain environments also support checking the properties of the table object. For example, a check that a table has the expected number of rows and columns. A table checkpoint can also be created by inserting a standard checkpoint on a table object.
Accessibility Checkpoint recognizes areas of your Web site that may not conform to the World Wide Web Consortium (W3C) Web Content Accessibility Guidelines. For example, check if the images on a Web page include ALT properties, required by the W3C Web Content Accessibility Guidelines. Accessibility checkpoints are supported for the Web add-in environment
QuickTest can check that a text string is displayed in the appropriate place in an application or on a Web page with Text Checkpoint. Text checkpoints are supported for the Web add-in environment, plus some Web-based add-in environments
Page Checkpoint checks the features 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. A page checkpoint can also be created by inserting a standard checkpoint on page object. Page checkpoints are supported for the Web add-in environment
The contents of a database accessed by your application can be checked by Database Checkpoint. Database checkpoints are supported for all add-in environments
By adding XML checkpoints to your test, you can check the contents of individual XML data files or documents that are part of your Web application. The XML Checkpoint option is supported for all add-in environments.
QuickTest 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. |
Image Checkpoint | Checks the property values of an image. | Check that the image source file is correct. |
Table Checkpoint | Checks information in a table. | Check that the value in a table cell is correct. |
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. |
Text Checkpoint | Checks that a text string is displayed in the appropriate place in a Web page or application. | Check whether the expected text string is displayed in the expected location in a test object. |
Text Area Checkpoint | Checks that a text string is displayed within a defined area in a Windows-based application. | Check that an area of a dialog box includes text that was entered in another part of the application. |
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. |
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. |
XML Checkpoint | Checks the data content of XML documents. | Check the content of an element to make sure that its tags, attributes, and values have not changed. 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. |