Interface TextFieldHandle
- All Superinterfaces:
FormComponentHandle
Handle for the "Text field" form component. The Swing widget is a
JTextField.
Reach this handle via ScreenHandle.textField().
-
Method Summary
Modifier and TypeMethodDescriptionassertText(String expected) Assert the current text equals the expected value.clear()Clear the field.getText()The current text in the field.Replace the field's text.Methods inherited from interface FormComponentHandle
getId, isEnabled, isVisible
-
Method Details
-
getText
The current text in the field. -
setText
Replace the field's text. -
clear
Clear the field. -
assertText
Assert the current text equals the expected value. -
assertEnabled
- Specified by:
assertEnabledin interfaceFormComponentHandle
-
assertDisabled
- Specified by:
assertDisabledin interfaceFormComponentHandle
-
assertVisible
- Specified by:
assertVisiblein interfaceFormComponentHandle
-
assertInvisible
- Specified by:
assertInvisiblein interfaceFormComponentHandle
-