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 TypeMethodDescriptionvoid
deleteRow
(int... rowIndices) Deletes the specified rows in the table (by index).void
Deletes the specified rows in the table.void
Deselects all rows in the table.void
deselectRow
(int... rowIndices) Deselects the specified rows in the table (by index).void
deselectRow
(TableRow... rows) Deselects the specified rows in the table.Returns a cell specified by row index and column identifier.Returns theControlType
of the test object.Returns the functionality provided byDesktopTableBehavior
.Returns the functionality provided byMobileTableBehavior
.getRow
(int rowIndex) Returns the index of the specifiedTableRow
row.Returns a list of all selectedTableRow
rows in the table.Returns a list of the visibleTableRow
rows in the current page.void
more()
Clicks the More button in the expandable table.void
Selects all rows in the table.void
selectCell
(int row, int col) Selects the specified cell in the table (by row and column).void
selectCell
(int row, String colName) Selects the specified cell in the table (by row and column name).void
selectRow
(int... rowIndices) Selects the specified rows in the table (by index).void
Selects the specified rows in the table.Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOn
Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObject
Methods inherited from interface com.hp.lft.sdk.web.TableBase
findRowWithCellText, findRowWithCellText, findRowWithCellTextInColumn, findRowWithCellTextInColumn, getBorder, getColumnHeaders, getRows
Methods 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, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
Methods 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, swipe
Methods inherited from interface com.hp.lft.sdk.web.WebTestObject
getAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisible
Methods inherited from interface com.hp.lft.sdk.web.WebTestObjectDescriber
describe, describe
-
Method Details
-
getControlType
Returns theControlType
of the test object.- Returns:
- The control type of the test object, or
Unknown
if 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 visibleTableRow
rows in the current page.- Returns:
- the visible
TableRow
rows in the current page. - Throws:
GeneralLeanFtException
- if error occurs during execution
-
getSelectedRows
Returns a list of all selectedTableRow
rows in the table.- Returns:
- A list of all selected
TableRow
rows 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
- theTableRow
rows 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
- theTableRow
rows 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
- theTableRow
rows 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 specifiedTableRow
row.- 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
-