setFocus()

Set focus on a field.

Syntax

setFocus(
   fieldName   STRING )
  1. fieldName is the name of the form field to set the focus on.

Usage

You can use it to set the focus on a field in an application form to test its action in a scenario. For example, setting the focus on the "firstname" field.

CALL ggc.setFocus("firstname")