Package com.hp.lft.sdk.sap.gui
Interface TableBase<T extends TableCellBase>
- All Superinterfaces:
- Element,- EnabledProvider,- LocationInfoProvider,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- WaitUntilEnabledProvider
The base interface for table, grid and APO grid controls in a SAP GUI for Windows application.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivateCell(int row, int columnIndex) Double-clicks the specified cell.voidactivateCell(int row, String column) Double-clicks the specified cell.voiddeselectColumn(int... columnIndices) Unselects the specified columns.voiddeselectColumn(String... columns) Unselects the specified columns.voiddeselectRow(int... rowIndices) Unselects the specified rows.voiddeselectRowRange(int indexFrom, int indexTo) Unselects the specified rows.findAllRowsWithCellTextInColumn(String text, int columnIndex) Finds all rows with this text in the specified column.findAllRowsWithCellTextInColumn(String text, String column) Finds all rows with the specified text in the specified column.findRowWithCellTextInColumn(String text, int columnIndex) Finds the first row with this text.findRowWithCellTextInColumn(String text, int columnIndex, int startFromRow) Finds the first row with this text.findRowWithCellTextInColumn(String text, String column) Finds the first row with this text.findRowWithCellTextInColumn(String text, String column, int startFromRow) Finds the first row with this text.getRows()Returns the list of rows in the test object.getTitle()Returns the title of the object.voidselectCell(int row, int columnIndex) Selects the specified cell.voidselectCell(int row, String column) Selects the specified cell.voidselectColumn(int... columnIndices) Selects the specified columns.voidselectColumn(String... columns) Selects the specified columns.voidselectRow(int... rowIndices) Selects the specified rows.voidselectRowRange(int indexFrom, int indexTo) Selects the specified row range.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.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- 
getTitleReturns the title of the object.- Returns:
- the title.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getRowsReturns the list of rows in the test object.- Returns:
- the list of rows.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateCellDouble-clicks the specified cell.- Parameters:
- row- the 1-based row index.
- column- the column name.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateCellDouble-clicks the specified cell.- Parameters:
- row- the 1-based row index.
- columnIndex- the 1-based column index.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectCellSelects the specified cell.- Parameters:
- row- the 1-based row index.
- column- the name of the column.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectCellSelects the specified cell.- Parameters:
- row- the 1-based row index.
- columnIndex- the 1-based column index.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectRowSelects the specified rows.- Parameters:
- rowIndices- the 1-based row indexes.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectRowRangeSelects the specified row range.- Parameters:
- indexTo- the 1-based index of the start row.
- indexFrom- the 1-based index of the end row.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectColumnSelects the specified columns.- Parameters:
- columns- the names of the columns.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectColumnSelects the specified columns.- Parameters:
- columnIndices- the 1-based column indexes.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectRowUnselects the specified rows.- Parameters:
- rowIndices- the 1-based row indexes.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectRowRangeUnselects the specified rows.- Parameters:
- indexTo- the 1-based index of the start row.
- indexFrom- the 1-based index of the end row.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectColumnUnselects the specified columns.- Parameters:
- columns- the names of the columns.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectColumnUnselects the specified columns.- Parameters:
- columnIndices- the 1-based column indexes.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
findRowWithCellTextInColumnFinds the first row with this text.- Parameters:
- text- the text to find.
- column- the name of the column to search.
- Returns:
- the row.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
findRowWithCellTextInColumnFinds the first row with this text.- Parameters:
- text- the text to find.
- columnIndex- the 1-based column index.
- Returns:
- the row.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
findRowWithCellTextInColumnTableRow<T> findRowWithCellTextInColumn(String text, String column, int startFromRow) throws GeneralLeanFtException Finds the first row with this text.- Parameters:
- text- the text to find.
- column- the name of the column to search.
- startFromRow- the 1-based index of the row from which to search.
- Returns:
- the row.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
findRowWithCellTextInColumnTableRow<T> findRowWithCellTextInColumn(String text, int columnIndex, int startFromRow) throws GeneralLeanFtException Finds the first row with this text.- Parameters:
- text- the text to find.
- columnIndex- the 1-based index of the column to search.
- startFromRow- the 1-based index of the row from which to search.
- Returns:
- the row.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
findAllRowsWithCellTextInColumnList<TableRow<T>> findAllRowsWithCellTextInColumn(String text, int columnIndex) throws GeneralLeanFtException Finds all rows with this text in the specified column.- Parameters:
- text- the text to find.
- columnIndex- the 1-based index of the column to search.
- Returns:
- the rows.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
findAllRowsWithCellTextInColumnList<TableRow<T>> findAllRowsWithCellTextInColumn(String text, String column) throws GeneralLeanFtException Finds all rows with the specified text in the specified column.- Parameters:
- text- the text to find.
- column- the name of the column to search.
- Returns:
- the rows.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-