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 TypeMethodDescriptionvoid
activateCell
(int row, int column) Double-clicks the specified cell in this grid.void
activateCell
(int row, String columnHeader) Double-clicks the specified cell in this grid.void
extendSelect
(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).void
extendSelect
(int row, int column) Adds the specified cell to the collection of selected items in this multi-selection grid.void
extendSelect
(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.void
selectCell
(int row, int column) Clicks the specified cell in this grid.void
selectCell
(int row, String columnHeader) Clicks the specified cell in this grid.void
selectColumn
(int column) Selects (clicks) the specified column header in the grid.void
selectColumn
(String columnHeader) Clicks the specified column header in this grid.void
selectRow
(int row) clicks the specified row in this grid.Methods inherited from interface com.hp.lft.sdk.DoubleClickable
doubleClick, doubleClick, doubleClick
Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
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.SupportSendKeys
sendKeys, sendKeys
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.UiObjectBase
getHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMove
Methods inherited from interface com.hp.lft.sdk.wpf.UiObjectBase
canFocus, getAttachedText, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, makeVisible, showContextMenu
Methods inherited from interface com.hp.lft.sdk.VisibleProvider
isVisible
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
Methods 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
-