To test the feature
Creating Verification Points in GUI Scripts
Before You Create a Verification Point
Before you create a verification point, consider the following:
What feature in the application do you want to test?
Example: You want to verify that the Cut command places selected data on the
To test the feature, what object or objects should you test?
Example: The objects that you should test are the Cut command on the Edit
menu and the data on the Clipboard.
What kind of verification points do you want to create?
Example: You create verification points to test that 1) the Cut command exists
on the Edit menu and is enabled, and 2) the Clipboard contains the information
cut to it.
What type of verification points do you create to accomplish the kind of object
testing that you want?
Example: You create a script that contains two verification points -- an Object
Data verification point to test that the Cut command exists on the Edit menu and
that the state of the Cut command is enabled; a Clipboard verification point to
test that the selected information is actually placed on the Clipboard.
Tasks Associated with Creating a Verification Point
The following table provides an overview of the major tasks that you perform when
you create a verification point and where to look in this chapter for instructions. The
specific steps depend on the type of verification point that you create.
1. Start to create a verification point.
2. Set a wait state.
3. Set the expected result.
4. Select and identify the object to test.
5. Select a verification method.