public class CFFlexList extends CFList
ComponentFunction.Window
ACTIVATEPARTIALMATCH, ACTIVATETEXTITEM, ACTIVATEUNVERIFIEDPARTIALMATCH, ACTIVATEUNVERIFIEDTEXTITEM, CAPTUREITEMSTOFILE, CLICKCOLUMNINDEX, CLICKCOLUMNLABEL, CLICKTEXTITEM, EXTENDSELECTIONTOTEXTITEM, LISTDATA_RFT_VP_PROPERTY, NETLISTBOXCLASSNAME, NETLISTVIEWCLASSNAME, RIGHTCLICKTEXTITEM, RIGHTCLICKUNVERIFIEDTEXTITEM, SELECT, SELECTANOTHERTEXTITEM, SELECTANOTHERUNVERIFIEDTEXTITEM, SELECTINDEX, SELECTPARTIALMATCH, SELECTTEXTITEM, SELECTUNVERIFIED, SELECTUNVERIFIEDPARTIALMATCH, SELECTUNVERIFIEDTEXTITEM, SETLISTCONTAINS, SETTEXTVALUE, VERIFYITEM, VERIFYITEMUNSELECTED, VERIFYLISTCONTAINS, VERIFYLISTCONTAINSPARTIALMATCH, VERIFYLISTDOESNOTCONTAIN, VERIFYLISTDOESNOTCONTAINPARTIALMATCH, VERIFYMENUITEM, VERIFYMENUPARTIALMATCH, VERIFYPARTIALMATCH, VERIFYSELECTED, VERIFYSELECTEDITEM, VERIFYSELECTEDPARTIALMATCH
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, 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 |
---|
CFFlexList() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List |
captureObjectData(TestObject guiObj)
Note: Override the method of its superclass CFList, support Flex List
|
protected java.lang.String |
getListItem(GuiTestObject guiObj,
int index)
Note: Override the method of its superclass CFList |
protected java.lang.String |
getListItem(ITestDataList list,
int index) |
protected void |
modifiedDoubleClickTextItem(MouseModifiers mbuttons,
GuiSubitemTestObject guiObj,
java.lang.String param)
Note: Override the method of its superclass CFList, as FlexListTestObject API does not provide method to double click on text of list, we have to search the item and get the position of this text, then perform a double click on that point. |
protected java.lang.String |
performDoubleClick(GuiSubitemTestObject guiObj,
java.lang.String param,
boolean exact,
MouseModifiers mbuttons)
Note: Override the method of its superclass CFList, as Flex list test object does not support doubleClick(atText()), so we have to find the relative position of the item we want to click at, then call doubleClick(atPoint()) |
protected boolean |
selectItemAtIndex(GuiSubitemTestObject guiObj,
int index)
Note: Override the method of its superclass CFList, But click(AtIndex()) can
not work for flex list, so use click(atText())
|
activatePartialMatch, captureItemsToFile, clickColumn, clickTextItem, clickTextItem2, getListItems, localProcess, modifiedClickTextItem, scrollToIndex, scrollToText, searchForListItem, selectIndex, selectPartialMatch, SetListContains, verifyItem, VerifyListContains, VerifyListNotContain, verifyMenuItem, verifySelected, verifySelected, verifyUnSelected
_maximize, _minimize, _restore, _setPosition, _setSize, captureObjectDataToFile, capturePropertiesToFile, capturePropertyToFile, clearAppMapCache, closeWindow, componentClick, convertObjectValueToString, exist, extractTreeItemsSub, findMenuBars, formatObjectData, 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, performClick, 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, convertCoords, 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.util.List captureObjectData(TestObject guiObj) throws SAFSException
captureObjectData
in class CFList
guiObj
- This is the reference to the List object (java or .net or other list)SAFSException
protected java.lang.String getListItem(GuiTestObject guiObj, int index) throws SAFSException
getListItem
in class CFList
guiObj
- A test object represents a listindex
- An index of the item in a listSAFSException
protected java.lang.String getListItem(ITestDataList list, int index)
getListItem
in class CFList
list
- ITestDataList, an object returned by RFT API, which contains the list contentsindex
- int, the item's indexprotected void modifiedDoubleClickTextItem(MouseModifiers mbuttons, GuiSubitemTestObject guiObj, java.lang.String param) throws SAFSException
modifiedDoubleClickTextItem
in class CFList
SAFSException
protected java.lang.String performDoubleClick(GuiSubitemTestObject guiObj, java.lang.String param, boolean exact, MouseModifiers mbuttons) throws SAFSException
performDoubleClick
in class CFList
guiObj
- A test object represents a listparam
- An item textexact
- If true, the item will be matched exactly; otherwise, it will be matched partially.mbuttons
- A mouse modifier like left, right click etc.SAFSException
protected boolean selectItemAtIndex(GuiSubitemTestObject guiObj, int index)
selectItemAtIndex
in class CFList
Copyright © SAS Institute. All Rights Reserved.