public class CFFlexTable extends CFTable
CFTable.TableCell
ComponentFunction.Window
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 |
---|
CFFlexTable() |
Modifier and Type | Method and Description |
---|---|
protected void |
actionClickColumnLabel(com.rational.test.ft.object.interfaces.GuiTestObject guiObj,
int col,
int yoffset)
overrides CFTable.actionClickColumnLabel for Flex support
Note: the parameter yoffset can not be supported here |
protected void |
actionLocalSelectCellTextSpecial(com.rational.test.ft.object.interfaces.GuiTestObject guiObj,
int row,
int col,
java.lang.String rowval,
java.lang.String column,
boolean control,
boolean shift,
boolean leftRight)
Override that of its superclass CFTable
Note: Flex table does not extend from GuiSubitemTestObject, but from FlexDataGridTestObject |
protected void |
actionVerifyCellEditable(com.rational.test.ft.object.interfaces.GuiTestObject guiObj,
int row,
int col,
boolean verifyFlag)
Override that of its superclass CFTable
Note: For Flex Table, property editable is applied to all table, so parameter row and col will have no effect here. |
protected java.util.List |
captureObjectData(com.rational.test.ft.object.interfaces.TestObject table)
Captures the object data into a List of rows.
|
protected void |
doActionClick(com.rational.test.ft.object.interfaces.GuiSubitemTestObject guiObj,
int row,
int col,
java.lang.String rowval,
java.lang.String colval)
This method override that of superclass CFTable.
|
protected java.lang.Object |
getCell(com.rational.test.ft.object.interfaces.TestObject tableObject,
int row,
int col)
Purpose: overrides the mehod in its superclass CFTable |
protected int |
getColi(boolean fuzzy,
java.lang.String column,
com.rational.test.ft.object.interfaces.GuiTestObject guiObj)
Purpose: overrides CFTable.getColi. |
protected java.lang.String |
getColumnHeader(com.rational.test.ft.vp.ITestDataTable table,
int columnNumber) |
protected java.lang.String |
getColumnName(com.rational.test.ft.object.interfaces.TestObject guiObj,
int col)
Override that of its superclss CFTable
|
protected int |
getNumColumns(com.rational.test.ft.object.interfaces.TestObject flexTable)
Purpose: overrides CFTable.getNumColumns, gets number of columns in FLEX table |
protected int |
getNumRows(com.rational.test.ft.object.interfaces.TestObject flexTable)
Purpose: overrides CFTable.getNumRows, gets number of rows in FLEX tables. |
actionAssign, actionCaptureRangeToFile, actionClick, actionClick, actionClickRowLabel, actionGetCellCoordinates, actionGetTableRowColumnCount, actionSelectCellTextSpecial, actionVerify, actionVerifyColumnLabel, actionVerifyRowLabel, commandAssignCellTextRow, commandAssignVariableCellText, commandCaptureRangeToFile, commandClick, commandClickCellOfColWithRowValues, commandClickColumnLabel, commandClickFind, commandClickRowLabel, commandGetCellCoordinates, commandGetTableRowColumnCount, commandSelectCellTextSpecial, commandSelectRowWithRowValues, commandVerifyCellEditable, commandVerifyCellText, commandVerifyCellTextFind, commandVerifyColumnLabel, commandVerifyRowLabel, convertCoords, formatObjectData, getCell, getCellText, getCellText, getJCTable, getLocalRect, getObjectData, getRealTable, getRowi, getTableCellSubItemText, getTextProperty, isCustomCellObject, localProcess, performClick, processCustomCellObject, 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, 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 void doActionClick(com.rational.test.ft.object.interfaces.GuiSubitemTestObject guiObj, int row, int col, java.lang.String rowval, java.lang.String colval) throws SAFSException
doActionClick
in class CFTable
SAFSException
- (often passed through the caller)protected int getColi(boolean fuzzy, java.lang.String column, com.rational.test.ft.object.interfaces.GuiTestObject guiObj) throws SAFSException
getColi
in class CFTable
fuzzy,
- booleancolumn,
- StringguiObj,
- GuiTestObjectSAFSException
protected int getNumRows(com.rational.test.ft.object.interfaces.TestObject flexTable) throws SAFSException
getNumRows
in class CFTable
flexTable,
- TestObjectSAFSException
- based on caught Exceptionprotected int getNumColumns(com.rational.test.ft.object.interfaces.TestObject flexTable) throws SAFSException
getNumColumns
in class CFTable
flexTable,
- TestObjectSAFSException
- based on caught Exceptionprotected java.lang.Object getCell(com.rational.test.ft.object.interfaces.TestObject tableObject, int row, int col) throws SAFSException
getCell
in class CFTable
jctable,
- TestObjectrow,
- int 0-based index.col,
- int 0-based index.SAFSException
- based on caught Exception, like ClassCastExceptionprotected java.lang.String getColumnHeader(com.rational.test.ft.vp.ITestDataTable table, int columnNumber)
table
- ITestDataTable, represents the testing tablecolumnNumber
- int, the number of the columnprotected java.lang.String getColumnName(com.rational.test.ft.object.interfaces.TestObject guiObj, int col)
getColumnName
in class CFTable
guiObj
- Expected to be a Table with a getColumnName(i) method that returns a String.col
- the column to get the name of.protected java.util.List captureObjectData(com.rational.test.ft.object.interfaces.TestObject table) throws java.lang.IllegalArgumentException, SAFSException
CFTable
captureObjectData
in class CFTable
table
- GuiTestObject to snapshot data from. DataGrid and DataGridView are acceptable.SAFSException
java.lang.IllegalArgumentException
- if table is not an acceptable GuiTestObject.CFComponent.captureObjectData(TestObject)
,
CFTable.formatObjectData(java.util.List)
protected void actionLocalSelectCellTextSpecial(com.rational.test.ft.object.interfaces.GuiTestObject guiObj, int row, int col, java.lang.String rowval, java.lang.String column, boolean control, boolean shift, boolean leftRight) throws SAFSException, com.rational.test.ft.SubitemNotFoundException, java.lang.NullPointerException, com.rational.test.ft.WrappedException
actionLocalSelectCellTextSpecial
in class CFTable
SAFSException
com.rational.test.ft.SubitemNotFoundException
java.lang.NullPointerException
com.rational.test.ft.WrappedException
protected void actionVerifyCellEditable(com.rational.test.ft.object.interfaces.GuiTestObject guiObj, int row, int col, boolean verifyFlag) throws SAFSException
actionVerifyCellEditable
in class CFTable
SAFSException
protected void actionClickColumnLabel(com.rational.test.ft.object.interfaces.GuiTestObject guiObj, int col, int yoffset) throws SAFSException
actionClickColumnLabel
in class CFTable
SAFSException
Copyright © SAS Institute. All Rights Reserved.