Package com.hp.lft.sdk.sap.ui5
Interface Table
- All Superinterfaces:
Clickable,LocationInfoProvider,SupportDragAndDrop,SupportsNativeObject,TableBase<TableRow>,TestObject,TestObjectDescriber,VisibleProvider,WaitUntilVisibleProvider,WebElement,WebTestObject,WebTestObjectDescriber
An SAPUI5 table object.
Note: Row-related methods always refer only to visible rows.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteRow(int... rowIndices) Deletes the specified rows in the table (by index).voidDeletes the specified rows in the table.voidDeselects all rows in the table.voiddeselectRow(int... rowIndices) Deselects the specified rows in the table (by index).voiddeselectRow(TableRow... rows) Deselects the specified rows in the table.Returns a cell specified by row index and column identifier.Returns theControlTypeof the test object.Returns the functionality provided byDesktopTableBehavior.Returns the functionality provided byMobileTableBehavior.getRow(int rowIndex) Returns the index of the specifiedTableRowrow.Returns a list of all selectedTableRowrows in the table.Returns a list of the visibleTableRowrows in the current page.voidmore()Clicks the More button in the expandable table.voidSelects all rows in the table.voidselectCell(int row, int col) Selects the specified cell in the table (by row and column).voidselectCell(int row, String colName) Selects the specified cell in the table (by row and column name).voidselectRow(int... rowIndices) Selects the specified rows in the table (by index).voidSelects the specified rows in the table.Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObjectMethods inherited from interface com.hp.lft.sdk.web.TableBase
findRowWithCellText, findRowWithCellText, findRowWithCellTextInColumn, findRowWithCellTextInColumn, getBorder, getColumnHeaders, getRowsMethods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, 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.TestObjectDescriber
describeMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisibleMethods inherited from interface com.hp.lft.sdk.web.WebElement
doubleClick, doubleClick, fireEvent, getAccessibilityName, getCSSSelector, getRole, getXPath, hoverTap, hoverTap, longPress, longPress, pan, pan, pinch, pinch, swipe, swipeMethods inherited from interface com.hp.lft.sdk.web.WebTestObject
getAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisibleMethods inherited from interface com.hp.lft.sdk.web.WebTestObjectDescriber
describe, describe
-
Method Details
-
getControlType
Returns theControlTypeof the test object.- Returns:
- The control type of the test object, or
Unknownif indeterminate. - Throws:
GeneralLeanFtException- if error occurs during execution
-
getDesktop
Returns the functionality provided byDesktopTableBehavior.- Returns:
- The functionality provided by
DesktopTableBehavior. - Throws:
GeneralLeanFtException- if error occurs during execution
-
getMobile
Returns the functionality provided byMobileTableBehavior.- Returns:
- The functionality provided by
MobileTableBehavior. - Throws:
GeneralLeanFtException- if error occurs during execution
-
getVisibleRows
Returns a list of the visibleTableRowrows in the current page.- Returns:
- the visible
TableRowrows in the current page. - Throws:
GeneralLeanFtException- if error occurs during execution
-
getSelectedRows
Returns a list of all selectedTableRowrows in the table.- Returns:
- A list of all selected
TableRowrows in the table. - Throws:
GeneralLeanFtException- if error occurs during execution
-
selectCell
Selects the specified cell in the table (by row and column).- Parameters:
row- the row number of the cell to select (1-based).col- the column number of the cell to select (1-based).- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectCell
Selects the specified cell in the table (by row and column name).- Parameters:
row- the row number of the cell to select (1-based).colName- the column name of the cell to select.- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectRow
Selects the specified rows in the table (by index).- Parameters:
rowIndices- the indices of the rows to select (1-based).- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectRow
Selects the specified rows in the table.- Parameters:
rows- theTableRowrows to select.- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectAllRows
Selects all rows in the table.- Throws:
GeneralLeanFtException- if error occurs during execution
-
deselectRow
Deselects the specified rows in the table (by index).- Parameters:
rowIndices- indices of the rows to deselect (1-based).- Throws:
GeneralLeanFtException- if error occurs during execution
-
deselectRow
Deselects the specified rows in the table.- Parameters:
rows- theTableRowrows to deselect.- Throws:
GeneralLeanFtException- if error occurs during execution
-
deselectAllRows
Deselects all rows in the table.- Throws:
GeneralLeanFtException- if error occurs during execution
-
deleteRow
Deletes the specified rows in the table (by index).- Parameters:
rowIndices- indices of the rows to delete (1-based).- Throws:
GeneralLeanFtException- if error occurs during execution
-
deleteRow
Deletes the specified rows in the table.- Parameters:
rows- theTableRowrows to delete.- Throws:
GeneralLeanFtException- if error occurs during execution
-
getCell
Returns a cell specified by row index and column identifier.- Parameters:
row- 0-based row index.columnIdentifier- 0-based index or column name.- Returns:
- the
TableCell - Throws:
GeneralLeanFtException- if error occurs during execution
-
more
Clicks the More button in the expandable table.- Throws:
GeneralLeanFtException- if error occurs during execution
-
getRow
Returns the index of the specifiedTableRowrow.- Parameters:
rowIndex- the index of the row to return (1-based).- Returns:
- the index of the specified row.
- Throws:
GeneralLeanFtException- if error occurs during execution
-