Package com.hp.lft.sdk.winforms
Interface Table
- All Superinterfaces:
Clickable,DoubleClickable,EnabledProvider,LocationInfoProvider,SupportDragAndDrop,SupportSendKeys,SupportsNativeObject,TestObject,TestObjectDescriber,UiObjectBase,UiObjectBase,VisibleProvider,WaitUntilEnabledProvider,WaitUntilVisibleProvider
A .NET Windows Forms grid object.
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivateCell(int row, int column) Double-clicks the specified cell in this grid.voidactivateRow(int row) Double-clicks the specified row header in this grid.The returned object enables access to supported custom grids.Returns the tooltip text of the error icon associated with this object.Returns the grid type of the test object.voidmakeCellVisible(int row, int column) Scrolls the specified cell into view.voidselectCell(int row, int column) Selects (clicks) the specified cell in this grid.voidselectRow(int row) Selects (clicks) the specified row header 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.winforms.UiObjectBase
fireEvent, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, getWindowClassRegExp, getWindowId, isChildWindow, isOwnedWindowMethods 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
-
activateCell
Double-clicks the specified cell in this grid.- Parameters:
row- 0-based row number.column- 0-based column index.- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateRow
Double-clicks the specified row header in this grid.- Parameters:
row- 0-based row number.- Throws:
GeneralLeanFtException- if error occurs during execution
-
makeCellVisible
Scrolls the specified cell into view.- Parameters:
row- 0-based row number.column- 0-based column index.- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectCell
Selects (clicks) the specified cell in this grid.- Parameters:
row- 0-based row number.column- 0-based column index.- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectRow
Selects (clicks) the specified row header in this grid.- Parameters:
row- 0-based row number.- Throws:
GeneralLeanFtException- if error occurs during execution
-
getErrorText
Returns the tooltip text of the error icon associated with this object.- Returns:
- the tooltip text of the error icon associated with this object.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getGridType
Returns the grid type of the test object. ReturnsUnknownif the grid type cannot be determined.- Returns:
- the grid type, or
Unknown - Throws:
GeneralLeanFtException- if error occurs during execution
-
getCustomGrid
The returned object enables access to supported custom grids.- Returns:
- the custom grids
- Throws:
GeneralLeanFtException- if error occurs during execution
-