Package com.hp.lft.sdk.web
Interface UiGrid
- All Superinterfaces:
Clickable
,GridBase<TableRow>
,LocationInfoProvider
,SupportDragAndDrop
,SupportsNativeObject
,TestObject
,TestObjectDescriber
,VisibleProvider
,WaitUntilVisibleProvider
,WebElement
,WebTestObject
,WebTestObjectDescriber
A UiGrid table.
-
Method Summary
Modifier and TypeMethodDescriptionfindRowWithCellText
(String text) Finds the first row with this text.findRowWithCellText
(String text, int startFromRow) Finds the first row with the specified text.void
scrollToRow
(int row) Scrolls to a specified row, as defined by the row's number.void
scrollToRow
(TableRow row) Scrolls to a specified row, as defined by the rowTableRow
.Methods inherited from interface com.hp.lft.sdk.web.GridBase
findRowWithCellTextInColumn, findRowWithCellTextInColumn, findRowWithCellTextInColumn, findRowWithCellTextInColumn, findRowWithCellTextInColumn, getColumnHeaders, getRows, selectCell, selectCell
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.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
-
findRowWithCellText
Finds the first row with this text.- Parameters:
text
- the text to find.- Returns:
- the first row with this text.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
findRowWithCellText
Finds the first row with the specified text.- Parameters:
text
- the text to find.startFromRow
- index from which to start the search.- Returns:
- the requested row, or null if none exists.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
scrollToRow
Scrolls to a specified row, as defined by the row's number.- Parameters:
row
- 0-based row number- Throws:
GeneralLeanFtException
- if error occurs during execution
-
scrollToRow
Scrolls to a specified row, as defined by the rowTableRow
.- Parameters:
row
- theTableRow
object to scroll to.- Throws:
GeneralLeanFtException
- if error occurs during execution
-