public class TableView extends GenericObject
Modifier | Constructor and Description |
---|---|
protected |
TableView(java.lang.String compname) |
|
TableView(java.lang.String winname,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
|
TableView(Window window,
java.lang.String compname)
Constructor
Create an instance of pseudo-component representing
a specific component in a specific window.
|
Modifier and Type | Method and Description |
---|---|
void |
activateTableRow(StepTestTable table,
java.lang.String row)
Activate the specified row in the table.
|
ComponentFunction |
activateTableRow(java.lang.String row)
Activate the specified row in the table.
|
void |
getCellValue(StepTestTable table,
java.lang.String[] parameters)
Get the value of a cell at a certain row and column
The variable in the parameter will be set to the value of the specified
row and column.
|
void |
getCellValue(StepTestTable table,
java.lang.String variableName,
java.lang.String row,
java.lang.String column)
Get the value of a cell at a certain row and column
The variable in the parameter will be set to the value of the specified
row and column.
|
ComponentFunction |
getCellValue(java.lang.String[] parameters)
Get the value of a cell at a certain row and column
The variable in the parameter will be set to the value of the specified
row and column.
|
ComponentFunction |
getCellValue(java.lang.String variableName,
java.lang.String row,
java.lang.String column)
Get the value of a cell at a certain row and column
The variable in the parameter will be set to the value of the specified
row and column.
|
void |
getRowCount(StepTestTable table,
java.lang.String rowCount)
Get a count of how many rows are in the table
The variable in the parameter will be set to the number of rows
in the table.
|
ComponentFunction |
getRowCount(java.lang.String rowCount)
Get a count of how many rows are in the table
The variable in the parameter will be set to the number of rows
in the table.
|
void |
setSelectedColumn(StepTestTable table,
java.lang.String column)
Set the current column of to the one specified.
|
ComponentFunction |
setSelectedColumn(java.lang.String column)
Set the current column of to the one specified.
|
void |
setSelectedRow(StepTestTable table,
java.lang.String row)
Set the current row of to the one specified.
|
ComponentFunction |
setSelectedRow(java.lang.String row)
Set the current row of to the one specified.
|
void |
setTableCellData(StepTestTable table,
java.lang.String[] parameters)
Set a specific cell to the specified value.
|
void |
setTableCellData(StepTestTable table,
java.lang.String row,
java.lang.String column,
java.lang.String textValue)
Set a specific cell to the specified value.
|
ComponentFunction |
setTableCellData(java.lang.String[] parameters)
Set a specific cell to the specified value.
|
ComponentFunction |
setTableCellData(java.lang.String row,
java.lang.String column,
java.lang.String textValue)
Set a specific cell to the specified value.
|
void |
verifyCellValue(StepTestTable table,
java.lang.String[] parameters)
Verify the contents of a particular cell at position
row, column.
|
void |
verifyCellValue(StepTestTable table,
java.lang.String expectedText,
java.lang.String row,
java.lang.String column)
Verify the contents of a particular cell at position
row, column.
|
ComponentFunction |
verifyCellValue(java.lang.String[] parameters)
Verify the contents of a particular cell at position
row, column.
|
ComponentFunction |
verifyCellValue(java.lang.String expectedText,
java.lang.String row,
java.lang.String column)
Verify the contents of a particular cell at position
row, column.
|
altClick, altClick, altClick, altClick, altLeftDrag, altLeftDrag, click, click, click, click, clickScreenImage, clickScreenImage, clickScreenLocation, clickScreenLocation, clickScreenPoint, clickScreenPoint, compareStoredData, compareStoredData, compareStoredData, compareStoredData, compareStoredProperties, compareStoredProperties, compareStoredProperties, compareStoredProperties, ctrlAltLeftDrag, ctrlAltLeftDrag, ctrlClick, ctrlClick, ctrlClick, ctrlClick, ctrlClickScreenImage, ctrlClickScreenImage, ctrlLeftDrag, ctrlLeftDrag, ctrlRightClick, ctrlRightClick, ctrlRightClick, ctrlRightClick, ctrlRightClickScreenImage, ctrlRightClickScreenImage, ctrlShiftLeftDrag, ctrlShiftLeftDrag, doubleClick, doubleClick, doubleClick, doubleClick, doubleClickScreenImage, doubleClickScreenImage, doubleClickScreenLocation, doubleClickScreenLocation, doubleClickScreenPoint, doubleClickScreenPoint, doubleTap, doubleTap, dragTo, dragTo, dragTo, dragTo, flick, flick, flick, flick, flickDown, flickDown, flickLeft, flickLeft, flickRight, flickRight, flickUp, flickUp, hScrollTo, hScrollTo, javaMenuSelect, javaMenuSelect, leftDrag, leftDrag, mouseClick, mouseClick, multiClick, multiClick, multiClick, multiClick, multiClickScreenImage, multiClickScreenImage, multiClickScreenImage, multiClickScreenImage, press, press, rightClick, rightClick, rightClick, rightClick, rightClickScreenImage, rightClickScreenImage, rightClickScreenLocation, rightClickScreenLocation, rightClickScreenPoint, rightClickScreenPoint, rightDrag, rightDrag, shiftClick, shiftClick, shiftClick, shiftClick, shiftClickScreenImage, shiftClickScreenImage, shiftLeftDrag, shiftLeftDrag, tap, tap, twoFingerTap, twoFingerTap, verifyImage, verifyImage, vScrollTo, vScrollTo
assignPropertyVariable, assignPropertyVariable, assignPropertyVariable, assignPropertyVariable, captureObjectDataToFile, captureObjectDataToFile, captureObjectDataToFile, captureObjectDataToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertiesToFile, capturePropertyToFile, capturePropertyToFile, capturePropertyToFile, capturePropertyToFile, clearAppMapCache, clearAppMapCache, clearCache, clearCache, executeScript, executeScript, executeScript, executeScript, getComputedStyle, getComputedStyle, getGUIImage, getGUIImage, getGUIImage, getGUIImage, getTextFromGUI, getTextFromGUI, getTextFromGUI, getTextFromGUI, gUIDoesExist, gUIDoesExist, gUIDoesNotExist, gUIDoesNotExist, hoverMouse, hoverMouse, hoverMouse, hoverMouse, hoverScreenLocation, hoverScreenLocation, hoverScreenLocation, hoverScreenLocation, inputCharacters, inputCharacters, inputKeys, inputKeys, isPropertyExist, isPropertyExist, isPropertyExist, isPropertyExist, locateScreenImage, locateScreenImage, locateScreenImage, locateScreenImage, saveTextFromGUI, saveTextFromGUI, saveTextFromGUI, saveTextFromGUI, sendEvent, sendEvent, sendEvent, sendEvent, setPropertyValue, setPropertyValue, setPropertyValue, setPropertyValue, showOnPage, showOnPage, typeChars, typeChars, typeEncryption, typeEncryption, typeEncryption, typeEncryption, typeKeys, typeKeys, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyArrayPropertyToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyBinaryFileToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardToFile, verifyClipboardVP, verifyClipboardVP, verifyComputedStyle, verifyComputedStyle, verifyFileToFile, verifyFileToFile, verifyFileToFile, verifyFileToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyGUIImageToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyObjectDataToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesSubsetToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyPropertiesToFile, verifyProperty, verifyProperty, verifyProperty, verifyProperty, verifyPropertyContains, verifyPropertyContains, verifyPropertyContains, verifyPropertyContains, verifyPropertyToFile, verifyPropertyToFile, verifyPropertyToFile, verifyPropertyToFile, verifyTabOrder, verifyTabOrder, verifyTextFileToFile, verifyTextFileToFile, verifyTextFileToFile, verifyTextFileToFile, verifyValueContains, verifyValueContains, verifyValueContains, verifyValueContains, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueContainsIgnoreCase, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValueDoesNotContain, verifyValues, verifyValues, verifyValues, verifyValues, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesIgnoreCase, verifyValuesNotEqual, verifyValuesNotEqual, verifyValuesNotEqual, verifyValuesNotEqual
getWindow, setWindow
getName, getParent, getParentName, quote
public TableView(Window window, java.lang.String compname)
window
- Optional:NO
Specifies which Window this component is 'in'.compname
- Optional:NO
Specifies the AppMap name of the component in the Window.public TableView(java.lang.String winname, java.lang.String compname)
winname
- Optional:NO
Specifies the AppMap name of the window.compname
- Optional:NO
Specifies the AppMap name of the component in the Window.protected TableView(java.lang.String compname)
public ComponentFunction activateTableRow(java.lang.String row)
Activate the specified row in the table. Activate the specified row in the table.Supporting Engines:
row
- Optional:NO
The row number to activate.public void activateTableRow(StepTestTable table, java.lang.String row)
Activate the specified row in the table. Activate the specified row in the table.Supporting Engines:
table
- Optional:NO
The table to add the record to.row
- Optional:NO
The row number to activate.public ComponentFunction getCellValue(java.lang.String variableName, java.lang.String row, java.lang.String column)
Get the value of a cell at a certain row and column The variable in the parameter will be set to the value of the specified row and column.Supporting Engines:
variableName
- Optional:NO
The variable that the data will be stored in.row
- Optional:NO
The row that the data will be extracted fromcolumn
- Optional:NO
The column that the data will be extracted from.public void getCellValue(StepTestTable table, java.lang.String variableName, java.lang.String row, java.lang.String column)
Get the value of a cell at a certain row and column The variable in the parameter will be set to the value of the specified row and column.Supporting Engines:
table
- Optional:NO
The table to add the record to.variableName
- Optional:NO
The variable that the data will be stored in.row
- Optional:NO
The row that the data will be extracted fromcolumn
- Optional:NO
The column that the data will be extracted from.public ComponentFunction getCellValue(java.lang.String[] parameters)
Get the value of a cell at a certain row and column The variable in the parameter will be set to the value of the specified row and column.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public void getCellValue(StepTestTable table, java.lang.String[] parameters)
Get the value of a cell at a certain row and column The variable in the parameter will be set to the value of the specified row and column.Supporting Engines:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction getRowCount(java.lang.String rowCount)
Get a count of how many rows are in the table The variable in the parameter will be set to the number of rows in the table.Supporting Engines:
rowCount
- Optional:NO
The variable that the number of rows will be stored in.public void getRowCount(StepTestTable table, java.lang.String rowCount)
Get a count of how many rows are in the table The variable in the parameter will be set to the number of rows in the table.Supporting Engines:
table
- Optional:NO
The table to add the record to.rowCount
- Optional:NO
The variable that the number of rows will be stored in.public ComponentFunction setSelectedColumn(java.lang.String column)
Set the current column of to the one specified. In the tableview the current column will be set to the one specified in the command parameter.Supporting Engines:
column
- Optional:NO
The column number that the TableView should be set to.public void setSelectedColumn(StepTestTable table, java.lang.String column)
Set the current column of to the one specified. In the tableview the current column will be set to the one specified in the command parameter.Supporting Engines:
table
- Optional:NO
The table to add the record to.column
- Optional:NO
The column number that the TableView should be set to.public ComponentFunction setSelectedRow(java.lang.String row)
Set the current row of to the one specified. In the tableview the current row will be set to the one specified in the command parameter.Supporting Engines:
row
- Optional:NO
The row number that the TableView should be set to.public void setSelectedRow(StepTestTable table, java.lang.String row)
Set the current row of to the one specified. In the tableview the current row will be set to the one specified in the command parameter.Supporting Engines:
table
- Optional:NO
The table to add the record to.row
- Optional:NO
The row number that the TableView should be set to.public ComponentFunction setTableCellData(java.lang.String row, java.lang.String column, java.lang.String textValue)
Set a specific cell to the specified value. Set the cell at the specified position in the table to a specific value. The user must make sure that the values indicated in the command are valid as far as the row and column specification of the table.Supporting Engines:
row
- Optional:NO
The row that the cell you want to set is in.column
- Optional:NO
The column that the cell you want to set is in.textValue
- Optional:NO
The text value to set the cell value to.public void setTableCellData(StepTestTable table, java.lang.String row, java.lang.String column, java.lang.String textValue)
Set a specific cell to the specified value. Set the cell at the specified position in the table to a specific value. The user must make sure that the values indicated in the command are valid as far as the row and column specification of the table.Supporting Engines:
table
- Optional:NO
The table to add the record to.row
- Optional:NO
The row that the cell you want to set is in.column
- Optional:NO
The column that the cell you want to set is in.textValue
- Optional:NO
The text value to set the cell value to.public ComponentFunction setTableCellData(java.lang.String[] parameters)
Set a specific cell to the specified value. Set the cell at the specified position in the table to a specific value. The user must make sure that the values indicated in the command are valid as far as the row and column specification of the table.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public void setTableCellData(StepTestTable table, java.lang.String[] parameters)
Set a specific cell to the specified value. Set the cell at the specified position in the table to a specific value. The user must make sure that the values indicated in the command are valid as far as the row and column specification of the table.Supporting Engines:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
public ComponentFunction verifyCellValue(java.lang.String expectedText, java.lang.String row, java.lang.String column)
Verify the contents of a particular cell at position row, column. The data is verified to equal the value of EXPECTED value at the specified row and column.Supporting Engines:
expectedText
- Optional:NO
The value that the data in the cell is expected to equal.row
- Optional:NO
The row number of the cell to be verified.column
- Optional:NO
The column number of the cell to be verified.public void verifyCellValue(StepTestTable table, java.lang.String expectedText, java.lang.String row, java.lang.String column)
Verify the contents of a particular cell at position row, column. The data is verified to equal the value of EXPECTED value at the specified row and column.Supporting Engines:
table
- Optional:NO
The table to add the record to.expectedText
- Optional:NO
The value that the data in the cell is expected to equal.row
- Optional:NO
The row number of the cell to be verified.column
- Optional:NO
The column number of the cell to be verified.public ComponentFunction verifyCellValue(java.lang.String[] parameters)
Verify the contents of a particular cell at position row, column. The data is verified to equal the value of EXPECTED value at the specified row and column.Supporting Engines:
parameters
- Optional:NO
An array containing the following parameters:
public void verifyCellValue(StepTestTable table, java.lang.String[] parameters)
Verify the contents of a particular cell at position row, column. The data is verified to equal the value of EXPECTED value at the specified row and column.Supporting Engines:
table
- Optional:NO
The table to add the record to.parameters
- Optional:NO
An array containing the following parameters:
Copyright © SAS Institute. All Rights Reserved.