Package com.hp.lft.sdk.wpf
Interface Table
- All Superinterfaces:
Clickable,DoubleClickable,EnabledProvider,LocationInfoProvider,SupportDragAndDrop,SupportSendKeys,SupportsNativeObject,TestObject,TestObjectDescriber,UiObjectBase,UiObjectBase,VisibleProvider,WaitUntilEnabledProvider,WaitUntilVisibleProvider
A .NET WPF grid object.
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivateCell(int row, int column) Double-clicks the specified cell in this grid.voidactivateCell(int row, String columnHeader) Double-clicks the specified cell in this grid.voidextendSelect(int row) Selects an additional item from the multi-selection grid.
The entire row you specify is selected (in addition to any currently selected rows and cells).voidextendSelect(int row, int column) Adds the specified cell to the collection of selected items in this multi-selection grid.voidextendSelect(int row, String columnHeader) Adds the specified cell to the collection of selected items in this multi-selection grid.Returns a cell specified by row index and column header.getName()Returns the name of this object.getRows()Returns table rows.voidselectCell(int row, int column) Clicks the specified cell in this grid.voidselectCell(int row, String columnHeader) Clicks the specified cell in this grid.voidselectColumn(int column) Selects (clicks) the specified column header in the grid.voidselectColumn(String columnHeader) Clicks the specified column header in this grid.voidselectRow(int row) clicks the specified row in this grid.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabledMethods 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.SupportSendKeys
sendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObjectMethods 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.UiObjectBase
getHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.wpf.UiObjectBase
canFocus, getAttachedText, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, makeVisible, showContextMenuMethods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
-
Method Details
-
getName
Returns the name of this object.- Returns:
- the name
- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateCell
Double-clicks the specified cell in this grid.- Parameters:
row- 0-based row indexcolumn- 0-based column index- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateCell
Double-clicks the specified cell in this grid.- Parameters:
row- 0-based row indexcolumnHeader- the column caption- Throws:
GeneralLeanFtException- if error occurs during execution
-
extendSelect
Selects an additional item from the multi-selection grid.
The entire row you specify is selected (in addition to any currently selected rows and cells).- Parameters:
row- 0-based row index.- Throws:
GeneralLeanFtException- if error occurs during execution
-
extendSelect
Adds the specified cell to the collection of selected items in this multi-selection grid.- Parameters:
row- 0-based row indexcolumn- 0-based column index- Throws:
GeneralLeanFtException- if error occurs during execution
-
extendSelect
Adds the specified cell to the collection of selected items in this multi-selection grid.- Parameters:
row- 0-based row indexcolumnHeader- the column caption- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectCell
Clicks the specified cell in this grid.- Parameters:
row- 0-based row indexcolumn- 0-based column index- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectCell
Clicks the specified cell in this grid.- Parameters:
row- 0-based row indexcolumnHeader- the column caption- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectColumn
Selects (clicks) the specified column header in the grid.- Parameters:
column- 0-based column index.- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectColumn
Clicks the specified column header in this grid.- Parameters:
columnHeader- the column header name- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectRow
clicks the specified row in this grid.- Parameters:
row- 0-based row index- Throws:
GeneralLeanFtException- if error occurs during execution
-
getCell
Returns a cell specified by row index and column header.- Parameters:
row- 0-based row index.columnHeader- the column header.- Returns:
- the
TableCell - Throws:
GeneralLeanFtException- if error occurs during execution
-
getRows
Returns table rows.- Returns:
- the rows
- Throws:
GeneralLeanFtException- if error occurs during execution
-