Package com.hp.lft.sdk.mobile
Interface Table
- All Superinterfaces:
- EnabledProvider,- Scrollable,- TestObject,- TestObjectDescriber,- UiObjectBase,- WaitUntilEnabledProvider
A table object in a mobile application.
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete(int item) Deletes the specified item from the table.voiddelete(int section, int item) Deletes the specified item or section (iOS only).voidinsert(int item) Inserts an item or section at the specified location in the table.voidinsert(int section, int item) Inserts an item or section at the specified location in the table (iOS only).voidmoveItem(int srcItem, int destItem) Moves an item or section in the list (iOS only).voidmoveItem(int srcSection, int srcItem, int destSection, int destItem) Moves an item or section in the list (iOS only).voidscroll(int index) Scrolls to the specified item in the table.voidscroll(int section, int item) Scrolls to the specified item in the specified section of the table.voidselect(int index) Selects a row in the table.voidselect(int section, int item) Selects an item in a section in the table.Methods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.mobile.ScrollablescrollOnePage, scrollToOffsetMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.mobile.UiObjectBasegetAccessibilityId, getClassName, getContainer, getHint, getLocation, getMobileCenterIndex, getNativeClass, getResourceId, getSize, getText, isCheckable, isChecked, isClickable, isFocusable, isFocused, longPress, longPress, pan, pan, pan, pinch, pinch, swipe, swipe, tap, tapMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabled
- 
Method Details- 
scrollScrolls to the specified item in the table.- Parameters:
- index- the numeric index of the item to scroll to.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
scrollScrolls to the specified item in the specified section of the table.- Parameters:
- section- the numeric index of the section containing the item to scroll to.
- item- the numeric index of the item to scroll to.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects a row in the table.- Parameters:
- index- the numeric index of the item to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects an item in a section in the table.- Parameters:
- section- the numeric index of the section in which to select the specified item.
- item- the numeric index of the item to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
insertInserts an item or section at the specified location in the table. (iOS Only)- Parameters:
- item- the numeric index of the location for the new item.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
insertInserts an item or section at the specified location in the table (iOS only).- Parameters:
- section- the numeric index of the section in which to insert the specified item.
- item- the numeric index of the location for the new item.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deleteDeletes the specified item from the table. (iOS Only)- Parameters:
- item- the numeric index of the item to delete.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deleteDeletes the specified item or section (iOS only).- Parameters:
- section- the numeric index of the section from which to delete the specified item.
- item- the numeric index of the item to delete.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
moveItemMoves an item or section in the list (iOS only).- Parameters:
- srcItem- the numeric index of the item to move.
- destItem- the numeric index of the new location for the item.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
moveItemvoid moveItem(int srcSection, int srcItem, int destSection, int destItem) throws GeneralLeanFtException Moves an item or section in the list (iOS only).- Parameters:
- srcSection- the numeric index of the section from which to move the specified srcItem.
- srcItem- the numeric index of the item to move.
- destSection- the numeric index of the section in which to place the specified destItem.
- destItem- the numeric index of the new location for the item.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-