Package com.hp.lft.sdk.web
Interface ListItem
public interface ListItem
A single list item in a Web list.
-
Method Summary
Modifier and TypeMethodDescriptiongetText()Returns the text value of the list item.voidmakeVisible(String xPath) Makes an item in the list visible.voidmakeVisible(String xPath, double timeOut) Makes an item in the list visible.
-
Method Details
-
getText
Returns the text value of the list item.- Returns:
- the text value of the list item.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
makeVisible
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
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
-