Open topic with navigation

com.hp.lft.sdk

## Interface WaitUntilEnabledProvider

- All Superinterfaces:
    EnabledProvider
  All Known Subinterfaces:
    APOGrid, Applet, Button, Button, Button, Button, Button, Button, Button, Button, Button, Calendar, Calendar, Calendar, Calendar, Calendar, Calendar, Calendar, Carousel, CheckBox, CheckBox, CheckBox, CheckBox, CheckBox, CheckBox, CheckBox, CheckBox, CheckBox, ComboBox, ComboBox, ComboBox, ComboBox, ComboBox, DateTimeInput, Dialog, Dialog, DropDown, EditField, EditField, EditField, EditField, EditField, EditField, EditField, Editor, Editor, Editor, Editor, ExpandBar, FacetFilter, Grid, Image, InternalFrame, Label, Label, Label, Link, Link, List, List, ListBox, ListBox, ListBox, ListBox, ListBox, ListView, ListView, ListView, Menu, Menu, Menu, Menubar, Paginator, Password, ProgressBar, PropertyGrid, RadioButton, RadioButton, RadioButton, RadioButton, RadioButton, RadioButton, RadioButton, RadioGroup, RadioGroup, RadioGroup, RatingIndicator, RecyclerView, ScrollBar, ScrollBar, ScrollBar, ScrollBar, Slider, Slider, Slider, SpinBox, SpinBox, SpinBox, Static, StatusBar, StatusBar, StatusBar, Stepper, TabControl, TabControl, TabControl, TabControl, TabControl, Table, Table, Table, Table, Table, Table, TableBase<T>, TabStrip, TabStrip, TabStrip, Tile, Toggle, ToggleButton, ToolBar, ToolBar, ToolBar, ToolBar, ToolBar, ToolBar, TreeView, TreeView, TreeView, TreeView, TreeView, TreeView, TreeView, UiObject, UiObject, UiObject, UiObject, UiObject, UiObject, UiObjectBase, UiObjectBase, UiObjectBase, UiObjectBase, UiObjectBase, UiObjectBase, UiObjectBase, UiObjectWithLayoutInfo, UiObjectWithLayoutInfo, View, WebView, Window, Window, Window, Window, Window

      public interface WaitUntilEnabledProvider
      extends EnabledProvider

  A test object that supports the waitUntilEnabled method.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `waitUntilEnabled()` Waits until this test object becomes enabled or until 20 seconds elapse.
    `boolean` | `waitUntilEnabled(int totalTimeOutInMilliseconds)` Waits until this test object becomes enabled or until the specified timeout elapses.

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

      `isEnabled`

- - ### Method Detail

    - #### waitUntilEnabled

          boolean waitUntilEnabled()
                            throws GeneralLeanFtException

      Waits until this test object becomes enabled or until 20 seconds elapse.
      Returns:
        true if the object became enabled within 20 seconds, otherwise false.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution

    - #### waitUntilEnabled

          boolean waitUntilEnabled(int totalTimeOutInMilliseconds)
                            throws GeneralLeanFtException

      Waits until this test object becomes enabled or until the specified timeout elapses.
      Parameters:
        `totalTimeOutInMilliseconds` - the time (in milliseconds) to wait until the test object becomes enabled.
      Returns:
        true if the object became enabled before the specified timeout, otherwise false.
      Throws:
        `GeneralLeanFtException` - if error occurs during execution