Identification Method - By Key and Value
Tasks Associated with Creating a Verification Point
The following figure shows baseline data captured using By Title. During playback,
the verification point passes because the recorded values under the menu title
remain the same even though the File and Edit menus have changed positions.
Use this method to verify that the recorded values in a row remain the same during
playback. This method is location-independent. If rows are added or deleted, the
verification point passes as long as the recorded values in the row remain the same.
This method also lets you add up to eight keys to the columns in the data grid. The
function like a primary key in a database table. Each key uniquely identifies a
column so that Robot can easily locate and retrieve the records you select. If you
add a key to a column, Robot searches for the recorded values in the key column
during playback. After Robot locates the values in the key column, it then verifies
that the rest of the recorded values in each row have remained the same during
To add or remove a key from a column, position the pointer anywhere in the
column and click the right mouse button.
The following figure shows baseline data captured using Rows By Key/Value with
a key in the customerid column. During playback, Robot searches only for the
recorded value in the key column (for example, 2). After Robot locates the value in
the key column, it then compares the recorded values with the baseline values. The
verification point passes because the recorded values exist even though the row
location changes because a new record was added to the database.