Interface Button

All Superinterfaces:
Clickable, DoubleClickable, EnabledProvider, LocationInfoProvider, SupportDragAndDrop, SupportSendKeys, SupportsNativeObject, TestObject, TestObjectDescriber, UiObjectBase, UiObjectBase, VisibleProvider, WaitUntilEnabledProvider, WaitUntilVisibleProvider

public interface Button extends UiObjectBase, TestObject
A .NET WPF button control.
  • Method Details

    • getParentText

      String getParentText() throws GeneralLeanFtException
      Returns text associated with the parent object of this object.
      Returns:
      the text
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getName

      String getName() throws GeneralLeanFtException
      Returns the name of this object.
      Returns:
      the name of this object.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getHelpText

      String getHelpText() throws GeneralLeanFtException
      Returns help text associated with this button.
      Returns:
      the help text
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • getToggleButton

      ToggleButton getToggleButton()
      Returns this object, cast to a ToggleButton. This method can be called only if this object is a toggle button.
      Returns:
      this object with toggle button functionality