public class CFJCTable extends CFTable
CFTable.TableCell
ComponentFunction.Window
Modifier and Type | Field and Description |
---|---|
protected int[] |
columnMap |
protected int[] |
rowMap |
ACTIVATECELL, ACTIVATECOLUMNLABEL, ACTIVATEROWLABEL, ASSIGNCELLCONTAINSTEXTROW, ASSIGNCELLTEXTROW, ASSIGNVARIABLECELLTEXT, ASSIGNVARIABLEFUZZYCELLTEXT, CAPTUREFUZZYRANGETOFILE, CAPTURERANGETOFILE, CLICKCELL, CLICKCELLOFCOLWITHROWVALUES, CLICKCOLUMNLABEL, CLICKROWLABEL, customCellObjects, DOUBLECLICKCELL, DOUBLECLICKCELLOFCOLWITHROWVALUES, DOUBLECLICKCOLUMNLABEL, DOUBLECLICKROWLABEL, GETCELLCOORDINATES, GETTABLEROWCOLUMNCOUNT, RFTGENERALVALUEPACKAGENAME, RIGHTCLICKCELL, RIGHTCLICKCOLUMNLABEL, SELECTCELL, SELECTCELLCONTAINSTEXTFIND, SELECTCELLTEXT, SELECTCELLTEXTFIND, SELECTCELLTEXTSPECIAL, SELECTFUZZYCELLTEXT, SELECTFUZZYCELLTEXTFIND, SELECTROWWITHROWVALUES, VERIFYCELLEDITABLE, VERIFYCELLTEXT, VERIFYCELLTEXTCONTAINS, VERIFYCELLTEXTFIND, VERIFYCOLUMNLABEL, VERIFYFUZZYCELLTEXT, VERIFYFUZZYCELLTEXTCONTAINS, VERIFYFUZZYCELLTEXTFIND, VERIFYROWLABEL
keepEncodingConsistent, obj1, script, winObject
action, ALTCLICK, ALTLEFTDRAG, altText, ASSIGNPROPERTYVARIABLE, CAPTUREOBJECTDATATOFILE, CAPTUREPROPERTIESTOFILE, CAPTUREPROPERTYTOFILE, CLEARAPPMAPCACHE, CLICK, CLOSEWINDOW, compName, COMPONENTCLICK, CTRLALTLEFTDRAG, CTRLCLICK, CTRLLEFTDRAG, CTRLRIGHTCLICK, CTRLSHIFTLEFTDRAG, DOUBLECLICK, GETGUIIMAGE, GETTEXTFROMGUI, GUIDOESEXIST, GUIDOESNOTEXIST, HOVERMOUSE, HSCROLLTO, INPUTCHARACTERS, INPUTKEYS, ISPROPERTYEXIST, iterator, LEFTDRAG, LOCATESCREENIMAGE, mapname, MAXIMIZE, MINIMIZE, MOUSECLICK, OBJECT_DATA, PARAM_FILTER, PARAM_UUID, PROPERTY_DOT_itemText, PROPERTY_innerHTML, PROPERTY_innerText, PROPERTY_Items, PROPERTY_text, PROPERTY_textContent, RELATIVE_TO_PARENT, RELATIVE_TO_SCREEN, RESTORE, RIGHTCLICK, RIGHTDRAG, SAVETEXTFROMGUI, SELECTMENUITEM, SELECTMENUITEMCONTAINS, SENDEVENT, SETPOSITION, SETPROPERTYVALUE, SHIFTCLICK, SHIFTLEFTDRAG, TEST_DATA_SUFFIX, utils, VERIFYARRAYPROPERTYTOFILE, VERIFYBINARYFILETOFILE, VERIFYCLIPBOARDTOFILE, VERIFYFILETOFILE, VERIFYGUIIMAGETOFILE, VERIFYMENUITEM, VERIFYMENUITEMCONTAINS, VERIFYOBJECTDATATOFILE, VERIFYPROPERTY, VERIFYPROPERTYCONTAINS, VERIFYPROPERTYTOFILE, VERIFYTEXTFILETOFILE, VERIFYVALUECONTAINS, VERIFYVALUEEQUALS, VERIFYVALUES, VERIFYVALUESIGNORECASE, VSCROLLTO, WAITFORGUI, windowName
breakpointsOn, CASE_INSENSITIVE_FLAG, CASEINSENSITIVE_FLAG, clearProxiesAlways, commandLineBreakpoint, customStr, customText, DEBUG_MESSAGE, debugStr, debugText, DEFAULT_CUSTOM_PROCESSOR_PACKAGE, DEFAULT_CUSTOM_PROCESSOR_SUBPACKAGE, DEFAULT_PROCESSOR_PACKAGE, FAILED_MESSAGE, FAILED_OK_MESSAGE, failedStr, failedText, FAILURE_DETAIL, GENERIC_MESSAGE, genericStr, genericText, LINE_FAILURE_4, log, myBreakpointsOn, otherStr, otherText, PARAM_SIZE_1, PARAM_SIZE_2, PARAM_SIZE_3, PARAM_SIZE_4, params, PASSED_MESSAGE, passedStr, passedText, PRE_TXT_SUCCESS_4, PRE_TXT_SUCCESS_5, processorConfigSet, processorMap, recordProcessed, RECTYPE_DRIVER_COMMAND, RECTYPE_DRIVER_COMMAND_F, RECTYPE_DRIVER_COMMAND_W, RECTYPE_TEST_STEP, RECTYPE_TEST_STEP_F, RECTYPE_TEST_STEP_W, RFSMCache, RFSMOnly, RFT_FIND_SEARCH_MODE_ALGORITHM, RFT_FIND_SEARCH_MODE_CACHE, SAFS_CLEARPROXIESALWAYS_ITEM, SAFS_COMMANDLINEBREAKPOINT_ITEM, SAFS_COMMANDLINEBREAKPOINT_VARIABLE, SAFS_PARAMS_FILE, SAFS_RESBUN_NAME, SAFS_SECSWAITFORCOMPONENT_ITEM, SAFS_SECSWAITFORCOMPONENT_VARIABLE, SAFS_SECSWAITFORWINDOW_ITEM, SAFS_SECSWAITFORWINDOW_VARIABLE, SAFS_TESTDOMAINS_ITEM, SAFS_TESTDOMAINS_VARIABLE, secsWaitForComponent, secsWaitForWindow, SENT_MSG_3, testDomains, testRecordData, testrecordStackable, TXT_FAILURE_1, TXT_FAILURE_2, TXT_FAILURE_3, TXT_FAILURE_4, TXT_FAILURE_5, TXT_SUCCESS_1, TXT_SUCCESS_2, TXT_SUCCESS_2a, TXT_SUCCESS_3, TXT_SUCCESS_3a, TXT_SUCCESS_4, TXT_SUCCESS_5, unexpectedAlertBehaviour, WARNING_MESSAGE, WARNING_OK_MESSAGE, warningStr, warningText
Constructor and Description |
---|
CFJCTable()
Purpose: constructor, calls super |
Modifier and Type | Method and Description |
---|---|
protected void |
actionClick(GuiTestObject guiObj,
int row,
int col,
java.lang.Integer rrow2,
java.lang.Integer ccol2,
java.lang.String rowval,
java.lang.String column)
Purpose: actually do the click action, this version takes 4 coords |
protected void |
actionClick(GuiTestObject guiObj,
int row,
int col,
java.lang.String rowval,
java.lang.String column)
Purpose: actually do the click action |
protected void |
actionClickColumnLabel(GuiTestObject guiObj,
int col,
int yoffset)
Purpose: ClickColumnLabel, this overrides the version in our parent |
protected void |
actionClickRowLabel(GuiTestObject guiObj,
int row,
int xoffset)
Purpose: ClickRowLabel, this overrides the version in our parent |
protected void |
actionGetCellCoordinates(GuiTestObject guiObj,
int row,
int col,
java.lang.String xCoordVariable,
java.lang.String yCoordVariable)
Purpose: GetCellCoordinates, this overrides the version in our parent |
protected void |
actionGetTableRowColumnCount(GuiTestObject guiObj,
java.lang.String rowCountVariable,
java.lang.String colCountVariable)
Purpose: GetTableRowColumnCount, this overrides the version in our parent |
protected void |
actionSelectCellTextSpecial(GuiTestObject guiObj,
int row,
int col,
java.lang.String rowval,
java.lang.String column,
boolean control,
boolean shift,
boolean leftRight)
Purpose: actually do the right or left click action with Contorl or Shift key pressed. |
protected void |
actionVerify(GuiTestObject guiObj,
int row,
int col,
java.lang.String rowval,
java.lang.String column,
boolean fuzzy,
java.lang.String val)
Purpose: actually do the verify action |
protected void |
actionVerifyCellEditable(GuiTestObject guiObj,
int row,
int col,
boolean verifyFlag)
Purpose: VerifyCellEditable, this overrides the version in our parent |
protected void |
actionVerifyColumnLabel(GuiTestObject guiObj,
java.lang.String val,
int col)
Purpose: VerifyColumnLabel, this overrides the version in our parent |
protected void |
actionVerifyRowLabel(GuiTestObject guiObj,
java.lang.String val,
int row)
Purpose: VerifyRowLabel, this overrides the version in our parent |
protected void |
adjustForFrozenCells(TestObject jctable)
Purpose: Refine the columnMap and rowMap variables by reordering the arrays if certain frozen rows or frozen columns are placed in the table in an abnormal way. |
protected void |
commandCaptureRangeToFile(boolean fuzzy)
Purpose: commandCaptureRangeToFile: process commands like: CaptureRangeToFile, CaptureFuzzyRangeToFile |
protected java.util.Collection |
extractCellText(TestObject jctable,
TestObject tblDataSource) |
protected java.lang.Object |
getCell(TestObject jctable,
int row,
int col)
Purpose: get a cell based on row and col, uses 'getCells' method |
protected java.util.Collection |
getCells(TestObject jctable)
Purpose: get all cells of the testobject (JCTable) |
protected int |
getColi(boolean fuzzy,
java.lang.String column,
GuiTestObject guiObj)
Purpose: get the column number based on fuzzy match |
protected int |
getColTot(int col,
GuiTestObject jctable) |
protected java.awt.Point |
getLocalCoords(GuiTestObject jctable,
int row,
int col) |
protected int |
getNumRows(TestObject jctable)
Purpose: get number of rows in table |
protected int |
getRowLabelY(GuiTestObject jctable,
int row,
int y)
Purpose: getRowLabelY This method let you implement the the custom calculation to find the y position for any frozen row labels in the JCTable. |
protected int |
getRowOffset() |
protected int |
getRowTot(int row,
GuiTestObject jctable) |
protected void |
purgeHiddenCells(TestObject jctable)
Purpose: Refine the columnMap and rowMap variables by removing all of the hidden columns and rows from the arrays. |
protected void |
setDefaultColumnMap(TestObject jctable) |
protected void |
setDefaultRowMap(TestObject jctable) |
protected boolean |
setLocalSelection(GuiTestObject jctable,
int row,
int col,
int row2,
int col2,
boolean left,
boolean right) |
protected void |
setLocalSelectionSpecial(GuiTestObject jctable,
int row,
int col,
boolean control,
boolean shift,
boolean leftRight) |
protected boolean |
setSelection(GuiTestObject jctable,
int row,
int col,
int row2,
int col2)
Purpose: set selection (NOTE: currently doesn't allow edit of cell when selected, looks like this is just a highlight, rather than a selection). |
protected boolean |
setSelection(GuiTestObject jctable,
int row,
int col,
int row2,
int col2,
boolean left,
boolean right)
Purpose: set selection Does a click in the cell based on the result of invoking getCellPosition on the jctable. |
protected void |
setSelectionSpecial(GuiTestObject guiObj,
int row,
int col,
boolean control,
boolean shift,
boolean leftRight)
Purpose: setSelectionSpecial Does a click in the cell based on the result of invoking getCellPosition on the jctable. |
protected void |
setTextValue(TestObject jctable,
int row,
int col,
java.lang.String text)
Purpose: set text value of cell |
actionAssign, actionCaptureRangeToFile, actionLocalSelectCellTextSpecial, captureObjectData, commandAssignCellTextRow, commandAssignVariableCellText, commandClick, commandClickCellOfColWithRowValues, commandClickColumnLabel, commandClickFind, commandClickRowLabel, commandGetCellCoordinates, commandGetTableRowColumnCount, commandSelectCellTextSpecial, commandSelectRowWithRowValues, commandVerifyCellEditable, commandVerifyCellText, commandVerifyCellTextFind, commandVerifyColumnLabel, commandVerifyRowLabel, convertCoords, doActionClick, formatObjectData, getCell, getCellText, getCellText, getColumnName, getJCTable, getLocalRect, getNumColumns, getObjectData, getRealTable, getRowi, getTableCellSubItemText, getTextProperty, isCustomCellObject, localProcess, performClick, processCustomCellObject, selectCellText
_maximize, _minimize, _restore, _setPosition, _setSize, captureObjectDataToFile, capturePropertiesToFile, capturePropertyToFile, clearAppMapCache, closeWindow, componentClick, convertObjectValueToString, exist, extractTreeItemsSub, findMenuBars, getAppletsBrowser, getComponentRectangle, getComponentRectangleOnScreen, getHelpers, getKeepEncodingConsistent, getObjectProperty, getObjectPropertyFromProperties, getProperties, getPropertyObject, getUserObject, getWindowRectangleOnScreen, inputKeystrokes, isDotnetDomain, isFlexDomain, isHtmlDomain, isJavaDomain, isSwtDomain, isSWTWidget, isWinDomain, listAllProperties, listAllProperties, listMethods, listNonValueProperties, listProperties, matchedPathOfMenuItem, mouseClick, parseWhereInfo, performDrag, performHoverMouse, performScorll, process, selectMenuItem, sendEvent, sendFlexEvent, setKeepEncodingConsistent, setPropertyValue, tobj, verifyClipboardToFile, verifyFileToFile, verifyMenuItem, verifyObjectDataToFile, verifyPropertyContains, verifyPropertyToFile, verifyValueContains, verifyValues
_close, action_ComputedStyle, action_getGuiImage, action_GetSaveTextFromGUI, action_showOnPage, action_verifyGuiImageToFile, assignPropertyVariable, captureObjectData, checkForCoord, checkForCoord, clearCache, close, componentExecutedFailureMessage, componentFailureMessage, componentProcess, componentSuccessMessage, convertLine, convertNum, convertWindowPosition, ConvertWindowPosition, deduceImageRect, dragTo, executeScript, getAlternateParams, getHelpersWorker, getPossibleMapItem, getProperty, getPropertyCollection, getPropertyCollection, getRectangleImage, getStringValue, getUUIDBoolean, guiDoesExist, hoverMouse, hoverScreenLocation, isClickAction, isPropertyExist, issueFileErrorFailure, issueParameterCountFailure, issueParameterCountFailure, issueParameterValueFailure, issuePassedSuccess, issuePassedSuccessUsing, issueUnknownErrorFailure, isSupportedRecordType, locateScreenImage, lookupAppMapCoordReference, lookupAppMapLineReference, lookupAppMapNumReference, lookupAppMapReference, maximize, minimize, normalizeFileEncoding, normalizePropertyCollection, restore, setIterator, setPosition, setRectVars, showComponentAsMuchPossible, updateFromTestRecordData, verifyPropertiesToFile, verifyProperty, waitForGUI, waitForObject
activateBreakpoint, checkBreakpoints, checkMyBreakpoints, deduceBenchFile, deduceDiffFile, deduceProjectFile, deduceTestFile, delay, distributeConfigInformation, getAbsolutFileName, getAppMapItem, getChainedProcessor, getClassInstance, getClearProxiesAlways, getCustomProcClassNames, getCustomProcInstancePath, getLogUtilities, getParams, getProcClassNames, getProcInstance, getProcInstancePath, getRequiredField, getSecsWaitForComponent, getSecsWaitForWindow, getStandardErrorMessage, getTestRecordData, getUnexpectedAlertBehaviour, getVariable, hasChainedProcessor, initProcessorAndProcess, instanceProcessorAndProcess, isBreakpointsOn, isComponentFunctionRecord, isDriverCommandRecord, isEngineCommandRecord, isMyBreakpointsOn, isRecordProcessed, isRFSMCache, isRFSMOnly, issueActionFailure, issueActionOnXFailure, issueErrorPerformingAction, issueErrorPerformingActionOnX, issueErrorPerformingActionUsing, issueInputRecordFailure, issueInputRecordFailure, issuePassedSuccess, logFailureMessage, normalizeTestFileName, paramsFailedMsg, paramsFailedMsg, popTestRecord, processCustomProcessor, processSubclassProcessor, pushTestRecord, setAtEndOfProcess, setBreakpointsOn, setChainedProcessor, setClearProxiesAlways, setCommandLineBreakpoint, setCustomProcInstancePath, setLogUtilities, setMyBreakpointsOn, setParams, setProcInstance, setProcInstancePath, setRecordProcessed, setRFSMCache, setRFSMOnly, setSecsWaitForComponent, setSecsWaitForWindow, setTestDomains, setTestRecordData, setUnexpectedAlertBehaviour, setVariable, standardFailureMessage, substituteVariable, validateParamSize, validProcessorClassName
protected java.lang.Object getCell(TestObject jctable, int row, int col) throws SAFSException
getCell
in class CFTable
jctable,
- TestObjectrow,
- intcol,
- intSAFSException
- based on caught Exception, like index out of bounds, etc.protected java.util.Collection getCells(TestObject jctable) throws SAFSException
jctable,
- TestObjectSAFSException
- based on caught Exceptionprotected void purgeHiddenCells(TestObject jctable)
jctable
- protected void adjustForFrozenCells(TestObject jctable)
jctable
- protected java.util.Collection extractCellText(TestObject jctable, TestObject tblDataSource)
protected boolean setSelection(GuiTestObject jctable, int row, int col, int row2, int col2) throws SAFSException
jctable,
- TestObjectrow,
- intcol,
- introw2,
- intcol2,
- intSAFSException
- based on caught Exceptionprotected java.awt.Point getLocalCoords(GuiTestObject jctable, int row, int col)
protected boolean setLocalSelection(GuiTestObject jctable, int row, int col, int row2, int col2, boolean left, boolean right) throws SAFSException, com.rational.test.ft.UnsupportedActionException, MethodNotFoundException
SAFSException
com.rational.test.ft.UnsupportedActionException
MethodNotFoundException
protected boolean setSelection(GuiTestObject jctable, int row, int col, int row2, int col2, boolean left, boolean right) throws SAFSException
jctable,
- TestObjectrow,
- intcol,
- introw2,
- intcol2,
- intleft,
- boolean, is it a left clickright,
- boolean, is it a right clickSAFSException
- based on caught Exceptionprotected void setTextValue(TestObject jctable, int row, int col, java.lang.String text) throws SAFSException
jctable,
- TestObjectrow,
- intcol,
- inttext,
- StringSAFSException
- based on caught Exceptionprotected void actionClick(GuiTestObject guiObj, int row, int col, java.lang.String rowval, java.lang.String column) throws SAFSException
actionClick
in class CFTable
guiObj,
- GuiTestObjectrow,
- intcol,
- intSAFSException
protected void actionClick(GuiTestObject guiObj, int row, int col, java.lang.Integer rrow2, java.lang.Integer ccol2, java.lang.String rowval, java.lang.String column) throws SAFSException
actionClick
in class CFTable
guiObj,
- GuiTestObjectrow,
- intcol,
- intSAFSException
protected int getRowOffset()
protected void commandCaptureRangeToFile(boolean fuzzy) throws SAFSException
example step commands:
T, JavaWin, JTable, CaptureRangeToFile, AFileName.txt
CaptureRange entire table To File AFileName.txt
T, JavaWin, JTable, CaptureRangeToFile, AFileName.txt, 4, "Field5", 2, 5
Saves a 2 rows by 5 columns range of cells starting at cell 4, Field5.
The starting column is determined by matching the text "Field5" to the field headers
in the JTable. The values are saved into AFileName.txt
T, JavaWin, JTable, CaptureRangeToFile, AFileName.txt, "ADatum", 5, , 2
Saves a range of all remaining rows by 2 columns wide starting at cell "ADatum", 5.
The starting row is determined by matching the text "ADatum" to the first cell
in column 1 in the JTable that contains "ADatum". Since no ROWS parameter was provided,
all subsequest rows from the 2 columns are captured. The values are saved into
AFileName.txt
NOTE: if fuzzy is true then: (case is ignored; if matching columns, or
if matching cell values, use substrings)
commandCaptureRangeToFile
in class CFTable
fuzzy,
- boolean, if true then substrings or case insensitive matchSAFSException
protected void actionGetCellCoordinates(GuiTestObject guiObj, int row, int col, java.lang.String xCoordVariable, java.lang.String yCoordVariable) throws SAFSException
example step commands:
T, JavaWin, JCTable, GetCellCoordinates, 2, 4, xCoordVar, yCoordVar
Returns the X and Y coordinates value of row 2 and col 4 in JCTable.
actionGetCellCoordinates
in class CFTable
guiObj,
- GuiTestObjectrow,
- intcol,
- intxCoordVariable,
- StringyCoordVariable,
- StringSAFSException
protected void actionVerifyRowLabel(GuiTestObject guiObj, java.lang.String val, int row) throws SAFSException
example step commands:
T, JavaWin, JCTable, VerifyRowLabel, "BenchValue", 2
Compares the value (Frozen row label) of row 2, in JCTable to bench text "BenchValue".
actionVerifyRowLabel
in class CFTable
guiObj,
- GuiTestObjectval,
- Stringrow,
- intSAFSException
protected void actionVerifyColumnLabel(GuiTestObject guiObj, java.lang.String val, int col) throws SAFSException
example step commands:
T, JavaWin, JCTable, VerifyColumnLabel, "BenchValue", 3
Compares the value (Frozen column label) of column 3, in JCTable to bench text "BenchValue".
NOTE: When you work with the column lable which consist of multiple column to find
the next column label in the table you need to add one to the number of columns
under the column label.
actionVerifyColumnLabel
in class CFTable
guiObj,
- GuiTestObjectval,
- Stringcol,
- intSAFSException
protected int getRowLabelY(GuiTestObject jctable, int row, int y)
jctable,
- TestObjectrow,
- inty,
- intprotected void actionClickRowLabel(GuiTestObject guiObj, int row, int xoffset) throws SAFSException
example step commands:
T, JavaWin, JCTable, ClickRowLabel, 2
Make a single click on the specified forzen row label. In this example the keyword makes
click on the second forzen row label in the JCTable.
T,windowName,TableName,doubleclickRowLabel,2
T,windowName,TableName,activateRowLabel,2
Make a double click on the specified forzen row label. In this example the keyword makes
click on the second forzen row label in the JCTable.
NOTE: This keyword is implemeted using the co-ordinates. This keyword internally calculates
the co-ordinates of any given frozen row label cell location and executes a single or double
click on that frozen row label.
actionClickRowLabel
in class CFTable
guiObj,
- GuiTestObjectrow,
- intSAFSException
protected void actionClickColumnLabel(GuiTestObject guiObj, int col, int yoffset) throws SAFSException
example step commands:
T, JavaWin, JCTable, ClickColumnLabel, 2
Make a single click on the specified forzen col label. In this example the keyword makes
click on the second forzen col label in the JCTable.
T,windowName,TableName,DoubleClickColumnLabel,2
T,windowName,TableName,ActivateColumnLabel,2
Make a double click on the specified forzen col label. In this example the keyword makes
click on the second forzen col label in the JCTable.
NOTE: This keyword is implemeted using the co-ordinates. This keyword internally calculates
the co-ordinates of any given frozen col label cell location and executes a single or
double click on that frozen col label.
actionClickColumnLabel
in class CFTable
guiObj,
- GuiTestObjectcol,
- intSAFSException
protected void actionVerifyCellEditable(GuiTestObject guiObj, int row, int col, boolean verifyFlag) throws SAFSException
example step commands:
T, JavaWin, JCTable, VerifyCellEditable, 2,5,true
Verifies the cell in JCTable, at row = 2, col = 5 is ediable. Validates the cell property
to a known value.
actionVerifyCellEditable
in class CFTable
guiObj,
- GuiTestObjectrow,
- intcol,
- intverifyFlag,
- booleanSAFSException
protected void setLocalSelectionSpecial(GuiTestObject jctable, int row, int col, boolean control, boolean shift, boolean leftRight) throws SAFSException, com.rational.test.ft.UnsupportedActionException, MethodNotFoundException
SAFSException
com.rational.test.ft.UnsupportedActionException
MethodNotFoundException
protected void setSelectionSpecial(GuiTestObject guiObj, int row, int col, boolean control, boolean shift, boolean leftRight) throws SAFSException, SubitemNotFoundException
jctable,
- TestObjectrow,
- intcol,
- introw2,
- intcol2,
- intleft,
- boolean, is it a left clickright,
- boolean, is it a right clickSAFSException
- based on caught ExceptionSubitemNotFoundException
protected void actionSelectCellTextSpecial(GuiTestObject guiObj, int row, int col, java.lang.String rowval, java.lang.String column, boolean control, boolean shift, boolean leftRight) throws SAFSException
actionSelectCellTextSpecial
in class CFTable
guiObj,
- GuiTestObjectrow,
- intcol,
- intcontrol,
- booleanshift,
- booleanleftRight,
- booleanSAFSException
protected void actionGetTableRowColumnCount(GuiTestObject guiObj, java.lang.String rowCountVariable, java.lang.String colCountVariable) throws SAFSException
example step commands:
T, JavaWin, JCTable, GetTableRowColumnCount, rowCountVar, colCountVar
Returns the total count of rows and columns in JCTable.
actionGetTableRowColumnCount
in class CFTable
guiObj,
- GuiTestObjectrowCountVariable,
- StringcolCountVariable,
- StringSAFSException
protected void actionVerify(GuiTestObject guiObj, int row, int col, java.lang.String rowval, java.lang.String column, boolean fuzzy, java.lang.String val) throws SAFSException
CFTable
actionVerify
in class CFTable
SAFSException
protected int getColi(boolean fuzzy, java.lang.String column, GuiTestObject guiObj) throws SAFSException
getColi
in class CFTable
fuzzy,
- booleancolumn,
- StringguiObj,
- GuiSubitemTestObjectSAFSException
protected void setDefaultColumnMap(TestObject jctable)
columnMap
- protected void setDefaultRowMap(TestObject jctable)
rowMap
- protected int getNumRows(TestObject jctable) throws SAFSException
CFTable
getNumRows
in class CFTable
SAFSException
- based on caught Exceptionprotected int getColTot(int col, GuiTestObject jctable)
protected int getRowTot(int row, GuiTestObject jctable)
Copyright © SAS Institute. All Rights Reserved.