public class CFMenuBar extends CFComponent
ComponentFunction.Window
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ITEMCOUNT_PROPERTY |
static java.lang.String |
MENUCOUNT_PROPERTY |
protected java.lang.String |
path |
static java.lang.String |
PATH_PREFIX |
static java.lang.String |
PATH_SEPARATOR |
static java.lang.String |
SELECTMENUITEM |
static java.lang.String |
SELECTMENUITEMCONTAINS |
static java.lang.String |
SELECTPOPUPMENUITEM |
static java.lang.String |
TEXT_PROPERTY |
protected java.lang.String |
ui |
static java.lang.String |
UITYPE_MENU |
static java.lang.String |
UITYPE_MENUBAR |
static java.lang.String |
UITYPE_MENUITEM |
static java.lang.String |
UITYPE_POPUPMENU |
static java.lang.String |
UITYPE_PROPERTY |
static java.lang.String |
VERIFYMENUITEM |
static java.lang.String |
VERIFYMENUITEMCONTAINS |
static java.lang.String |
VERIFYPOPUPMENUCONTAINS |
static java.lang.String |
VERIFYPOPUPMENUITEM |
static java.lang.String |
VERIFYPOPUPMENUPARTIALMATCH |
ALTCLICK, altText, ASSIGNPROPERTYVARIABLE, CLICK, CNTRLCLICK, COMPONENTCLICK, DOUBLECLICK, GUIDOESEXIST, GUIDOESNOTEXIST, INPUTCHARACTERS, INPUTKEYS, iterator, RIGHTCLICK, SHIFTCLICK, VERIFYPROPERTY, VERIFYPROPERTYCONTAINS, WAITFORGUI
action, ALTLEFTDRAG, CAPTUREOBJECTDATATOFILE, CAPTUREPROPERTIESTOFILE, CAPTUREPROPERTYTOFILE, CLEARAPPMAPCACHE, CLOSEWINDOW, compName, CTRLALTLEFTDRAG, CTRLCLICK, CTRLLEFTDRAG, CTRLRIGHTCLICK, CTRLSHIFTLEFTDRAG, GETGUIIMAGE, GETTEXTFROMGUI, HOVERMOUSE, HSCROLLTO, ISPROPERTYEXIST, LEFTDRAG, LOCATESCREENIMAGE, mapname, MAXIMIZE, MINIMIZE, MOUSECLICK, RESTORE, RIGHTDRAG, SAVETEXTFROMGUI, SENDEVENT, SETPOSITION, SETPROPERTYVALUE, SHIFTLEFTDRAG, utils, VERIFYARRAYPROPERTYTOFILE, VERIFYBINARYFILETOFILE, VERIFYCLIPBOARDTOFILE, VERIFYFILETOFILE, VERIFYGUIIMAGE, VERIFYGUIIMAGETOFILE, VERIFYOBJECTDATATOFILE, VERIFYPROPERTYTOFILE, VERIFYTEXTFILETOFILE, VERIFYVALUECONTAINS, VERIFYVALUEEQUALS, VERIFYVALUES, VERIFYVALUESIGNORECASE, VSCROLLTO, 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, 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, WARNING_MESSAGE, WARNING_OK_MESSAGE, warningStr, warningText
Constructor and Description |
---|
CFMenuBar()
Creates a new instance of CFMenuBar
|
Modifier and Type | Method and Description |
---|---|
Tree |
extractMenuBarItems(java.lang.Object obj)
Explore the menuitem hierarchy of the GUI application under test
|
protected void |
localProcess()
Process the testRecordData command/process the component-specific testscript keywords
Thrown Exceptions are generally caught and processed in JVMAgentTestStepProcessor.
|
componentClick, process
_close, _maximize, _minimize, _restore, _setPosition, _setSize, action_getGuiImage, action_verifyGuiImageToFile, checkForCoord, checkForCoord, close, componentExecutedFailureMessage, componentFailureMessage, componentSuccessMessage, convertCoords, convertLine, convertNum, convertWindowPosition, deduceImageRect, getAlternateParams, getComponentRectangle, getHelpers, getHelpersWorker, issueActionFailure, issueActionOnXFailure, issueErrorPerformingAction, issueErrorPerformingActionOnX, issueFileErrorFailure, issueInputRecordFailure, issueParameterCountFailure, issueParameterCountFailure, issueParameterValueFailure, issuePassedSuccess, issuePassedSuccessUsing, issueUnknownErrorFailure, isSupportedRecordType, lookupAppMapCoordReference, lookupAppMapLineReference, lookupAppMapNumReference, lookupAppMapReference, maximize, minimize, restore, setPosition, setRectVars, updateFromTestRecordData
activateBreakpoint, checkBreakpoints, checkMyBreakpoints, deduceBenchFile, deduceProjectFile, deduceTestFile, delay, distributeConfigInformation, getAppMapItem, getChainedProcessor, getClassInstance, getClearProxiesAlways, getCustomProcClassNames, getCustomProcInstancePath, getLogUtilities, getParams, getProcClassNames, getProcInstance, getProcInstancePath, getRequiredField, getSecsWaitForComponent, getSecsWaitForWindow, getStandardErrorMessage, getTestRecordData, getVariable, hasChainedProcessor, initProcessorAndProcess, instanceProcessorAndProcess, isBreakpointsOn, isComponentFunctionRecord, isDriverCommandRecord, isEngineCommandRecord, isMyBreakpointsOn, isRecordProcessed, isRFSMCache, isRFSMOnly, normalizeTestFileName, paramsFailedMsg, paramsFailedMsg, processCustomProcessor, processSubclassProcessor, setBreakpointsOn, setChainedProcessor, setClearProxiesAlways, setCommandLineBreakpoint, setCustomProcInstancePath, setLogUtilities, setMyBreakpointsOn, setParams, setProcInstance, setProcInstancePath, setRecordProcessed, setRFSMCache, setRFSMOnly, setSecsWaitForComponent, setSecsWaitForWindow, setTestDomains, setTestRecordData, setVariable, standardFailureMessage, substituteVariable, validateParamSize, validProcessorClassName
public static final java.lang.String SELECTMENUITEM
public static final java.lang.String SELECTMENUITEMCONTAINS
public static final java.lang.String VERIFYMENUITEM
public static final java.lang.String VERIFYMENUITEMCONTAINS
public static final java.lang.String SELECTPOPUPMENUITEM
public static final java.lang.String VERIFYPOPUPMENUITEM
public static final java.lang.String VERIFYPOPUPMENUPARTIALMATCH
public static final java.lang.String VERIFYPOPUPMENUCONTAINS
public static final java.lang.String TEXT_PROPERTY
public static final java.lang.String ITEMCOUNT_PROPERTY
public static final java.lang.String MENUCOUNT_PROPERTY
public static final java.lang.String UITYPE_PROPERTY
public static final java.lang.String UITYPE_MENUBAR
public static final java.lang.String UITYPE_POPUPMENU
public static final java.lang.String UITYPE_MENU
public static final java.lang.String UITYPE_MENUITEM
public static final java.lang.String PATH_SEPARATOR
public static final java.lang.String PATH_PREFIX
protected java.lang.String ui
protected java.lang.String path
public Tree extractMenuBarItems(java.lang.Object obj) throws SAFSException
SAFSException
method
Throws SAFSException
,
JVMAgentTestStepProcessor.initProcessorAndProcess(Processor, Collection)
protected void localProcess()
localProcess
in class CFComponent
JVMAgentTestStepProcessor.initProcessorAndProcess(Processor, Collection)