Home Segments Top Top Previous Next

915: Mainline

To fetch the current string that appears in a text field, possibly after you edit that field and press the Enter key, you use the getText method:

field1.getText()