public class DCDriverCommand extends DriverCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CALLSCRIPT |
static java.lang.String |
CAPTUREMOUSEPOSITIONONSCREEN |
static java.lang.String |
CLEARAPPMAPCACHE |
static java.lang.String |
CLOSEAPPLICATION |
static java.lang.String |
DISABLE_DOMAIN |
static java.lang.String |
ENABLE_DOMAIN |
static java.lang.String |
GET_SECS_AFTER_WIN_ACTIVE |
static java.lang.String |
GET_SECS_BEFORE_MOUSE_DOWN |
static java.lang.String |
GET_SECS_BEFORE_MOUSE_UP |
static java.lang.String |
GET_SECS_DELAY_RETRY_COMPONENT |
static java.lang.String |
GET_SECS_SEEK_COMPONENT |
static java.lang.String |
LAUNCHAPPLICATION |
static java.lang.String |
ONGUIEXISTSGOTOBLOCKID |
static java.lang.String |
ONGUINOTEXISTGOTOBLOCKID |
static java.lang.String |
ONMENUITEMCONTAINSSTATEGOTOBLOCKID |
protected RDDGUIUtilities |
rgu
A convenient GUIUtilities
|
static java.lang.String |
SCROLLWHEEL |
static java.lang.String |
SET_SECS_AFTER_WIN_ACTIVE |
static java.lang.String |
SET_SECS_BEFORE_MOUSE_DOWN |
static java.lang.String |
SET_SECS_BEFORE_MOUSE_UP |
static java.lang.String |
SET_SECS_DELAY_RETRY_COMPONENT |
static java.lang.String |
SET_SECS_SEEK_COMPONENT |
static java.lang.String |
SETCONTEXT |
static java.lang.String |
SETFOCUS |
static java.lang.String |
WAITFORGUI |
static java.lang.String |
WAITFORGUIGONE |
static java.lang.String |
WAITFORPROPERTYVALUE |
static java.lang.String |
WAITFORPROPERTYVALUEGONE |
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()
Purpose: constructor, calls super |
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. |
void |
commandProcess()
Purpose: process: process the testRecordData This is a driver command processor. |
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 CALLSCRIPT
public static final java.lang.String WAITFORGUI
public static final java.lang.String WAITFORGUIGONE
public static final java.lang.String CLEARAPPMAPCACHE
public static final java.lang.String CLOSEAPPLICATION
public static final java.lang.String LAUNCHAPPLICATION
public static final java.lang.String WAITFORPROPERTYVALUE
public static final java.lang.String WAITFORPROPERTYVALUEGONE
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 CAPTUREMOUSEPOSITIONONSCREEN
public static final java.lang.String ONGUIEXISTSGOTOBLOCKID
public static final java.lang.String ONGUINOTEXISTGOTOBLOCKID
public static final java.lang.String ENABLE_DOMAIN
public static final java.lang.String DISABLE_DOMAIN
public static final java.lang.String ONMENUITEMCONTAINSSTATEGOTOBLOCKID
public static final java.lang.String SET_SECS_SEEK_COMPONENT
public static final java.lang.String SET_SECS_DELAY_RETRY_COMPONENT
public static final java.lang.String SET_SECS_AFTER_WIN_ACTIVE
public static final java.lang.String GET_SECS_SEEK_COMPONENT
public static final java.lang.String GET_SECS_DELAY_RETRY_COMPONENT
public static final java.lang.String GET_SECS_AFTER_WIN_ACTIVE
public static final java.lang.String SCROLLWHEEL
public static final java.lang.String GET_SECS_BEFORE_MOUSE_UP
public static final java.lang.String GET_SECS_BEFORE_MOUSE_DOWN
public static final java.lang.String SET_SECS_BEFORE_MOUSE_UP
public static final java.lang.String SET_SECS_BEFORE_MOUSE_DOWN
protected RDDGUIUtilities rgu
protected void init() throws SAFSException
init
in class DriverCommand
SAFSException
public void commandProcess()
Processor.testRecordData
statusCode is set
based on the result of the processing; processedCommand is set to false
if we do not recognize this command
Processor.testRecordData
, Processor.params
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.