Interface CheckBox

All Superinterfaces:
Clickable, EnabledProvider, LocationInfoProvider, SupportDragAndDrop, SupportsNativeObject, TestObject, TestObjectDescriber, VisibleProvider, WaitUntilEnabledProvider, WaitUntilVisibleProvider, WebElement, WebTestObject, WebTestObjectDescriber
All Known Subinterfaces:
CheckBox, ToggleButton

public interface CheckBox extends WebElement, WaitUntilEnabledProvider
A Web check box with an ON and OFF state.
  • Method Details

    • isChecked

      boolean isChecked() throws GeneralLeanFtException
      Indicates whether this check box is checked.
      Returns:
      true, if the check box is checked.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getType

      String getType() throws GeneralLeanFtException
      Returns the type of object as defined in the HTML input tag.
      Returns:
      the type of object as defined in the HTML input tag.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • set

      void set(boolean state) throws GeneralLeanFtException
      Sets the state of this check box.
      Parameters:
      state - the new state of the check box: true - Checked, false - Unchecked.
      Throws:
      GeneralLeanFtException - if error occurs during execution