Interface PasswordFieldHandle
- All Superinterfaces:
FormComponentHandle
Handle for the "Password field" form component. The Swing widget is a
JPasswordField.
Reach this handle via ScreenHandle.passwordField().
-
Method Summary
Modifier and TypeMethodDescriptionassertText(String expected) Assert the current password text equals the expected value.clear()Clear the field.getText()The current password text.Set the password text.Methods inherited from interface FormComponentHandle
getId, isEnabled, isVisible
-
Method Details
-
getText
The current password text. -
setText
Set the password text. -
clear
Clear the field. -
assertText
Assert the current password 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
-