Open topic with navigation

com.hp.lft.sdk.sap.ui5

## Interface EditField

- All Superinterfaces:
    Clickable, EditField, EditFieldBase, EditFieldCommon, LocationInfoProvider, SupportDragAndDrop, SupportsNativeObject, TestObject, TestObjectDescriber, VisibleProvider, WaitUntilVisibleProvider, WebElement, WebTestObject, WebTestObjectDescriber, WaitUntilEnabledProvider, EnabledProvider

      public interface EditField
      extends EditField

  An SAPUI5 text edit.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `void` | `clear()` Clears the text in the object.
    `boolean` | `isEnabled()` Indicates whether the object is enabled.
    `void` | `openPossibleEntries()` Opens the list displaying possible values.
    `void` | `refresh()` Clicks the Refresh button associated with the object.
    `void` | `search(java.lang.String text)` Enters the specified text in the Search edit box and clicks the Search button.

    - ### Methods inherited from interface com.hp.lft.sdk.web.EditField

      `setSecure, submit`

    - ### Methods inherited from interface com.hp.lft.sdk.web.WebElement

      `doubleClick, doubleClick, fireEvent, getAccessibilityName, getCSSSelector, getRole, getXPath, hoverTap, hoverTap, longPress, longPress, pan, pan, pinch, pinch, swipe, swipe`

    - ### Methods inherited from interface com.hp.lft.sdk.TestObject

      `exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExists`

    - ### Methods inherited from interface com.hp.lft.sdk.Clickable

      `click, click, click`

    - ### Methods inherited from interface com.hp.lft.sdk.web.WebTestObject

      `getAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisible`

    - ### Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider

      `getAbsoluteLocation, getLocation, getSize`

    - ### Methods inherited from interface com.hp.lft.sdk.web.WebTestObjectDescriber

      `describe, describe`

    - ### Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber

      `describe`

    - ### Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject

      `getNativeObject`

    - ### Methods inherited from interface com.hp.lft.sdk.SupportDragAndDrop

      `dragAndDropOn, dragAndDropOn`

    - ### Methods inherited from interface com.hp.lft.sdk.web.EditFieldCommon

      `getDefaultValue, getMaxLength, getPattern, getRowsCount, getType`

    - ### Methods inherited from interface com.hp.lft.sdk.web.EditFieldBase

      `getMaxCharsInLine, getPlaceholder, getValue, isReadOnly, isRequired, setValue`

    - ### Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider

      `waitUntilEnabled, waitUntilEnabled`

    - ### Methods inherited from interface com.hp.lft.sdk.EnabledProvider

      `isEnabled`

    - ### Methods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider

      `waitUntilVisible, waitUntilVisible`

    - ### Methods inherited from interface com.hp.lft.sdk.VisibleProvider

      `isVisible`

- - ### Method Detail

    - #### isEnabled

          boolean isEnabled()
                     throws GeneralLeanFtException

      Indicates whether the object is enabled.
      Returns:
        True if enabled.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### search

          void search(java.lang.String text)
               throws GeneralLeanFtException

      Enters the specified text in the Search edit box and clicks the Search button.
      Parameters:
        `text` - the text to enter.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### clear

          void clear()
              throws GeneralLeanFtException

      Clears the text in the object.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### openPossibleEntries

          void openPossibleEntries()
                            throws GeneralLeanFtException

      Opens the list displaying possible values.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### refresh

          void refresh()
                throws GeneralLeanFtException

      Clicks the Refresh button associated with the object.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.