public class DCDriverCommand extends DriverCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLEARAPPMAPCACHE |
static java.lang.String |
DEFAULT_BROWSER |
static java.lang.String |
ONGUIEXISTSGOTOBLOCKID |
static java.lang.String |
ONGUINOTEXISTGOTOBLOCKID |
static java.lang.String |
SETCONTEXT |
static java.lang.String |
SETFOCUS |
protected SeleniumGUIUtilities |
sgu
A convenient GUIUtilities
|
static java.lang.String |
STARTWEBBROWSER |
static java.lang.String |
WAITFORGUI |
static java.lang.String |
WAITFORWEBPAGE |
command, iterator, utils
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 |
---|
DCDriverCommand() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkGUIExistence(boolean expectedExist,
java.lang.String mapNam,
java.lang.String window,
java.lang.String component,
int timeoutInSeconds)
Check the existence of the window/component and return the satisfaction of the existence.
The satisfaction depends on component's existence and our expectation of its existence. Subclass only need to implement this method to get the following keywords work. |
protected void |
commandProcess()
Process the driver command specifically.
|
protected void |
init()
Convert the general GUIUtilities to a specific one.
|
getStandardFailureDetail, getStandardWarningDetail, interpretFields, issueActionUsingNegativeMessage, issueActionWarning, issueExecutionNegativeMessage, issueFileErrorFailure, issueGenericSuccess, issueGenericSuccess, issueGenericSuccessUsing, issueParameterCountFailure, issueParameterCountFailure, issueParameterValueFailure, issuePassedSuccess, issueUnknownErrorFailure, isSupportedRecordType, localProcess, process
activateBreakpoint, checkBreakpoints, checkMyBreakpoints, deduceBenchFile, deduceDiffFile, deduceProjectFile, deduceTestFile, delay, distributeConfigInformation, getAbsolutFileName, getAlternateParams, 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
public static final java.lang.String CLEARAPPMAPCACHE
public static final java.lang.String STARTWEBBROWSER
public static final java.lang.String WAITFORGUI
public static final java.lang.String WAITFORWEBPAGE
public static final java.lang.String SETCONTEXT
public static final java.lang.String SETFOCUS
public static final java.lang.String ONGUIEXISTSGOTOBLOCKID
public static final java.lang.String ONGUINOTEXISTGOTOBLOCKID
public static final java.lang.String DEFAULT_BROWSER
protected SeleniumGUIUtilities sgu
protected void init() throws SAFSException
init
in class DriverCommand
SAFSException
protected void commandProcess()
DriverCommand
commandProcess
in class DriverCommand
protected boolean checkGUIExistence(boolean expectedExist, java.lang.String mapNam, java.lang.String window, java.lang.String component, int timeoutInSeconds) throws SAFSException
DriverCommand
checkGUIExistence
in class DriverCommand
expectedExist
- boolean, the expected existence of the window/component.mapNam
- String, the map namewindow
- String, the window's namecomponent
- String, the component's nametimeoutInSeconds
- int, the timeout in secondsSAFSException
- is thrown out if there is something wrong.DriverCommand.onGUIGotoCommands(boolean)
Copyright © SAS Institute. All Rights Reserved.