identify a DataWindow row
Recording Actions on DataWindows
15-3
Parameters for a Mouse-Click Action
The following action parameters identify a DataWindow row if the action is a mouse
click:
Robot can record these action parameters for the following types of multi-row
DataWindow and DropDownDataWindow presentation styles: FreeForm, Grid,
OLE, RichText, and Tabular.
Robot records coordinates for all other DataWindow presentation styles and for
DropDownListBoxes.
Value-Based Recording
By using value-based recording, Robot lets you record actions on a DataWindow and
lets you play back those actions regardless of the position of records in the database.
Value-based action parameters are written to a script as column/value pairs, using
either the column number or the column name.
Action parameter
Action during playback
Col=%;Value=x
Clicks the row specified by the column/value pair.
Col
is the numeric position of a DataWindow column and
Value
is the contents of the cell located at the intersection
of column
Col
and the clicked row. (See the next section,
ColName=$;Value=x
Clicks the row specified by the column/value pair.
ColName
is the developer-assigned name of a
DataWindow column, and
Value
is the contents of the
cell located at the intersection of column
ColName
and
CurrentRow
Clicks the currently selected row in the DataWindow.
LastRow
Clicks the last row in the DataWindow.
Row=%
Clicks the row specified by the number (first row =1).
Text
Clicks the row identified by the visible text in the
DataWindow row.
VisibleRow=%
Clicks the visible row specified by the number. The range
of row numbers begins with the first visible row.