Interface ListItem


public interface ListItem
A single list item in a Web list.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the text value of the list item.
    void
    Makes an item in the list visible.
    void
    makeVisible(String xPath, double timeOut)
    Makes an item in the list visible.
  • Method Details

    • getText

      String getText() throws GeneralLeanFtException
      Returns the text value of the list item.
      Returns:
      the text value of the list item.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • makeVisible

      void makeVisible(String xPath) throws GeneralLeanFtException
      Makes an item in the list visible.
      Note: When weblist items are loaded dynamically, this method might return unexpected results.
      Parameters:
      xPath - - the xPath value of the control to press to make the item visible in the list.
      Throws:
      GeneralLeanFtException - if error occurs during execution
    • makeVisible

      void makeVisible(String xPath, double timeOut) throws GeneralLeanFtException
      Makes an item in the list visible.
      Parameters:
      xPath - - the xPath value of the control to press to make the item visible in the list.
      timeOut - - the amount of time to wait for the item to become visible.
      Throws:
      GeneralLeanFtException - if error occurs during execution