Open topic with navigation

com.hp.lft.sdk

## Interface TestObjectDescriber

- All Known Subinterfaces:
    Accordion, APOGrid, Applet, Application, Area, AudioControl, Browser, 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, DatePicker, DateTimeInput, Device, Dialog, Dialog, Dialog, DropDown, EditField, EditField, EditField, EditField, EditField, EditField, EditField, EditField, Editor, Editor, Editor, Editor, Element, ExpandBar, FacetFilter, Field, FileField, Frame, Grid, GuiSession, Header, Image, Image, InsightObject, InternalFrame, Label, Label, Label, Label, Label, Link, Link, Link, List, List, ListBox, ListBox, ListBox, ListBox, ListBox, ListView, ListView, ListView, Menu, Menu, Menu, Menu, Menu, Menubar, Menubar, NavigationBar, NotificationBar, NumericField, OKCode, Page, Paginator, Paginator, Password, ProgressBar, PropertyGrid, RadioButton, RadioButton, RadioButton, RadioButton, RadioButton, RadioButton, RadioButton, RadioGroup, RadioGroup, RadioGroup, RatingIndicator, RecyclerView, RoadMap, RowRepeater, Screen, ScrollBar, ScrollBar, ScrollBar, ScrollBar, Slider, Slider, Slider, Slider, SpinBox, SpinBox, SpinBox, Static, StatusBar, StatusBar, StatusBar, StatusBar, Stepper, TabControl, TabControl, TabControl, TabControl, TabControl, Table, Table, Table, Table, Table, Table, Table, Table, TableBase<T>, TabStrip, TabStrip, TabStrip, TabStrip, TestObject, TextScreen, Tile, Toggle, ToggleButton, ToolBar, ToolBar, ToolBar, ToolBar, ToolBar, ToolBar, ToolBar, TopLevelObject, TreeView, TreeView, TreeView, TreeView, TreeView, TreeView, TreeView, TreeView, UiObject, UiObject, UiObject, UiObject, UiObject, UiObject, VideoControl, View, WebElement, WebTestObject, WebTestObjectDescriber, WebView, Window, Window, Window, Window, Window, Window, Window

      public interface TestObjectDescriber

  Base interface for all classes that support describing test objects.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `<TChild extends TestObject> TChild` | `describe(java.lang.Class<TChild> type, Description description)` Creates a child test object of this test object.

- - ### Method Detail

    - #### describe

          <TChild extends TestObject> TChild describe(java.lang.Class<TChild> type,
                                                      Description description)
                                               throws GeneralLeanFtException

      Creates a child test object of this test object.
      This operation does not cause LeanFT to search for the object in the AUT. LeanFT interacts with the application only when a step runs that performs an operation on the AUT object.
      Type Parameters:
        `TChild` - the generic type of the child test object.
      Parameters:
        `type` - the test object interface type.
        `description` - a Description containing the set of properties and values that uniquely identify this object in the AUT.
      Returns:
        The new child test object with the provided description.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.