background image
<< Selecting a Verification Method | Baseline data captured >>
<< Selecting a Verification Method | Baseline data captured >>

Selecting an Identification Method

Tasks Associated with Creating a Verification Point
Numeric Range Verifies that the values of the data captured during recording fall
within a specified range during playback. You specify the From and To values for
the numeric range. During playback, the verification point verifies that the numbers
are within that range. For example, you can capture a list containing a range of
salaries and then set the high and low values of the range. The test passes during
playback only if all of the salaries are within the set range.
Verify that selected field is blank Verifies that the selected field contains no
text or numeric data. If the field is blank, the verification point passes. If the field
contains any text or numeric value during playback, the verification point fails. You
can use this method on a list if you do not highlight any of the items in the list.
(This method is used only with the Alphanumeric verification point.)
Selecting an Identification Method
An identification method tells Robot how to identify the values to compare during
record and playback.
For example, suppose you want to test that the values of one row in a table remain
the same during record and playback. You could specify an identification method so
that Robot can identify the values regardless of the location of the row in the table.
When you create certain verification points, you can select an identification method
for data that appears in a data grid. A data grid shows data in rows and columns in a
Robot dialog box. Data grids are used when you create a Clipboard, Menu, or
Object Data verification point. You can also select an identification method for
properties that have a list or array value when you create an Object Properties
verification point.
If the data is displayed in a two-dimensional grid, select two identification methods
-- one for columns and one for rows. If the data is displayed in a one-dimensional
grid, select only one identification method.
There are four identification methods: By Content, By Location, By Title, and By
Key/Value. (For a complete list of the identification methods, see List of Identification
on page 4-18
By Content
Use this method to verify that the recorded values exist during playback. This
method is location-independent. For example, if you record a value of 100, the
verification point passes as long as the value 100 exists during playback.
The following figure shows baseline data captured using Items By Content. During
playback, the verification point passes because the recorded value exists even though
its location changes.