com.hp.lft.sdk.web

Interface ListItem



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

      Modifier and TypeMethod and Description
      java.lang.StringgetText()
      Returns the text value of the list item.
      voidmakeVisible(java.lang.String xPath)
      Makes an item in the list visible.
      voidmakeVisible(java.lang.String xPath, double timeOut)
      Makes an item in the list visible.
    • Method Detail

      • makeVisible

        void makeVisible(java.lang.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 an error occurs during execution.
      • makeVisible

        void makeVisible(java.lang.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 an error occurs during execution.