User Guide

Using checkpoints 17
Using checkpoints
Checkpoints let you examine objects and fail or pass the test based on whether the object
contains the value you expected. During the test, QTP compares the current value against the
expected value in the checkpoint. If the values do not match, then the test fails. If they do
match, the test passes.
The Flex QTP plugin supports the following checkpoint types:
Bitmap
Standard
Tab le
The Flex QTP plugin does not support the following checkpoints:
Accessibility
Database
Image
Page
Te xt
XML
Standard checkpoints
Standard checkpoints let you examine the properties of controls. You can examine any Flex
object in the object repository. The testable properties include both information about the
objects state (such as a TextAreas text property) and information about the objects
appearance (such as the
bgcolor style property or the height and width properties).
The available properties are a subset of the Flex controls full property set, but they include
most commonly used properties. For a complete list of properties, see the tea.html document.
The following example shows part of a script that uses the Check method, which verifies
whether the actual value of an item matches the expected value:
Browser("FlexStore").FlexApplication("flexstore").FlexCanvas("Support").
FlexForm("index:4").Check CheckPoint("index:4")
For more information, see the QuickTest Professional Object Model Reference.