Interface WebTestObjectDescriber

All Superinterfaces:
TestObjectDescriber
All Known Subinterfaces:
Accordion, AgGrid, Area, AudioControl, Browser, Button, Button, Calendar, Carousel, CheckBox, CheckBox, DatePicker, DateTimeInput, Dialog, EditField, EditField, FacetFilter, FileField, Frame, GridBase<T>, Header, Image, Label, Link, ListBox, ListBox, Menu, Menu, Menubar, NavigationBar, NotificationBar, NumericField, Page, Paginator, Password, RadioButton, RadioGroup, RadioGroup, RatingIndicator, RoadMap, RowRepeater, Slider, Table, Table, TabStrip, TabStrip, Tile, ToggleButton, ToolBar, TreeView, TreeView, UiGrid, VideoControl, WebElement, WebTestObject

public interface WebTestObjectDescriber extends TestObjectDescriber
Indicates that the test object supports describing its child test object with advanced web filters.
  • Method Details

    • describe

      <TChild extends WebElement> TChild describe(Class<TChild> type, XPathDescription xpath) throws GeneralLeanFtException
      Describes a child test object using the provided XPath.
      The current instance test object is the parent of the returned test object.
      OpenText Functional Testing for Developers searches for this test object only when an operation on this test object is invoked. This means that if the test object is not found in the application, this command will still succeed. In this case, an exception is thrown only when an operation is invoked.
      Type Parameters:
      TChild - the generic type of the child test object.
      Parameters:
      type - the child test object type.
      xpath - the XPath used to find the child test object.
      Returns:
      the requested child test object with its description.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • describe

      <TChild extends WebElement> TChild describe(Class<TChild> type, CSSDescription css) throws GeneralLeanFtException
      Describes a child test object using the provided CSS selector.
      The current instance test object is the parent of the returned test object.
      OpenText Functional Testing for Developers searches for this test object only when an operation on this test object is invoked. This means that if the test object is not found in the application, this command will still succeed. In this case, an exception is thrown only when an operation is invoked.
      Type Parameters:
      TChild - the generic type of the child test object.
      Parameters:
      type - the child test object type.
      css - the CSS selector query used to find the child test object.
      Returns:
      the requested child test object with its description.
      Throws:
      GeneralLeanFtException - if error occurs during execution