Package com.hp.lft.sdk.sap.gui
Interface Grid
- All Superinterfaces:
- Element,- EnabledProvider,- LocationInfoProvider,- SupportsNativeObject,- TableBase<GridCell>,- TestObject,- TestObjectDescriber,- WaitUntilEnabledProvider
A grid control in a SAP GUI for Windows application.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivateColumn(int columnIndex) Double-clicks the specified column in the grid.voidactivateColumn(String column) Double-clicks the specified column in the grid.voidactivateRow(int rowIndex) Double-clicks the specified row in a grid.voidClears any selected rows or columns in the grid.Returns the first row visible in a scrolled area.Returns the possible selections in the grid.voidPresses the ENTER key when the grid is in focus.voidselectMenuItemById(String menuItemId) Selects the specified menu item from a context menu.Methods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportsNativeObjectgetNativeObjectMethods inherited from interface com.hp.lft.sdk.sap.gui.TableBaseactivateCell, activateCell, deselectColumn, deselectColumn, deselectRow, deselectRowRange, findAllRowsWithCellTextInColumn, findAllRowsWithCellTextInColumn, findRowWithCellTextInColumn, findRowWithCellTextInColumn, findRowWithCellTextInColumn, findRowWithCellTextInColumn, getRows, getTitle, selectCell, selectCell, selectColumn, selectColumn, selectRow, selectRowRangeMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, 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.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabled
- 
Method Details- 
getFirstVisibleRowReturns the first row visible in a scrolled area.- Returns:
- the first row visible in a scrolled area.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectionModeReturns the possible selections in the grid.- Returns:
- the possible selections.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateColumnDouble-clicks the specified column in the grid. Double-clicking the column selects the entire column, displays another window, or performs another application-specific action.- Parameters:
- column- the name of the column.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateColumnDouble-clicks the specified column in the grid. Double-clicking the column selects the entire column, displays another window, or performs another application-specific action.- Parameters:
- columnIndex- 1-based.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateRowDouble-clicks the specified row in a grid.- Parameters:
- rowIndex- 1-based.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
clearSelectionClears any selected rows or columns in the grid.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
pressEnterPresses the ENTER key when the grid is in focus.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectMenuItemByIdSelects the specified menu item from a context menu. A context menu is opened by right-clicking the grid. UseselectColumn,selectRow, orselectCellto open the context menu before invoking this method.- Parameters:
- menuItemId- The SAP ID for the menu item.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-