setField


setField

setField (row, column, text)

Sets the field at row,column to the given text. This is functionally the same as setting the cursor to the beginning of the field and typing text into the field.

If the field is not long enough, the text is truncated. setField does not send the updated screen to the host. Use the 'sendKeys' function with '@E' to send the screen.

Parameters:

row

The zero-based row number

col

The zero-based column number

text

The text to enter into the field

Returns:

True if the field was set, false if the field at row, col is protected.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*