public class DCDriverStringCommands extends DriverCommand
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLEANSTRING |
static java.lang.String |
COMPARE |
static java.lang.String |
CONCATENATE |
static java.lang.String |
FINDSUBSTRINGINSTRING |
static java.lang.String |
GETFIELD |
static java.lang.String |
GETFIELDARRAY |
static java.lang.String |
GETFIELDCOUNT |
static java.lang.String |
GETFIXEDWIDTHFIELD |
static java.lang.String |
GETMULTIDELIMITEDFIELD |
static java.lang.String |
GETMULTIDELIMITEDFIELDCOUNT |
static java.lang.String |
GETNEXTDELIMITERINDEX |
static java.lang.String |
GETREDELIMITEDFIELD |
static java.lang.String |
GETREDELIMITEDFIELDCOUNT |
static java.lang.String |
GETSUBSTRINGINSTRING |
static java.lang.String |
GETSYSTEMENVIRON |
static java.lang.String |
GETSYSTEMUSER |
static java.lang.String |
GETTRIMMEDFIELD |
static java.lang.String |
INDEX |
static java.lang.String |
LEFT |
static java.lang.String |
LEFTTRIM |
static java.lang.String |
LENGTH |
static java.lang.String |
REPLACE |
static java.lang.String |
RIGHT |
static java.lang.String |
RIGHTTRIM |
static java.lang.String |
SUBSTRING |
static java.lang.String |
TOLOWERCASE |
static java.lang.String |
TOUPPERCASE |
static java.lang.String |
TRIM |
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 |
---|
DCDriverStringCommands()
Purpose: constructor, calls super |
Modifier and Type | Method and Description |
---|---|
boolean |
checkParams(int expected)
Purpose: check if params are < expected, if so then unsuccessful, ok otherwise. |
int |
getInt(java.util.Iterator iterator)
Purpose: get iterator.next() as a number, if unsuccessful, then sets statusCode to GENERAL_SCRIPT_FAILURE and logs warning |
void |
process()
Purpose: process: process the testRecordData This is the driver command processor for string commands. |
boolean |
setVar(java.lang.String varName,
java.lang.String val)
Purpose: calls setVariable from a super class, if unsuccessful then sets statusCode to GENERAL_SCRIPT_FAILURE and logs warning |
checkGUIExistence, commandProcess, getStandardFailureDetail, getStandardWarningDetail, init, interpretFields, issueActionUsingNegativeMessage, issueActionWarning, issueExecutionNegativeMessage, issueFileErrorFailure, issueGenericSuccess, issueGenericSuccess, issueGenericSuccessUsing, issueParameterCountFailure, issueParameterCountFailure, issueParameterValueFailure, issuePassedSuccess, issueUnknownErrorFailure, isSupportedRecordType, localProcess
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 LENGTH
public static final java.lang.String COMPARE
public static final java.lang.String CONCATENATE
public static final java.lang.String TOUPPERCASE
public static final java.lang.String TOLOWERCASE
public static final java.lang.String LEFTTRIM
public static final java.lang.String RIGHTTRIM
public static final java.lang.String TRIM
public static final java.lang.String LEFT
public static final java.lang.String RIGHT
public static final java.lang.String SUBSTRING
public static final java.lang.String FINDSUBSTRINGINSTRING
public static final java.lang.String GETSUBSTRINGINSTRING
public static final java.lang.String INDEX
public static final java.lang.String REPLACE
public static final java.lang.String CLEANSTRING
public static final java.lang.String GETFIELD
public static final java.lang.String GETTRIMMEDFIELD
public static final java.lang.String GETFIXEDWIDTHFIELD
public static final java.lang.String GETNEXTDELIMITERINDEX
public static final java.lang.String GETFIELDCOUNT
public static final java.lang.String GETFIELDARRAY
public static final java.lang.String GETREDELIMITEDFIELDCOUNT
public static final java.lang.String GETREDELIMITEDFIELD
public static final java.lang.String GETSYSTEMENVIRON
public static final java.lang.String GETSYSTEMUSER
public static final java.lang.String GETMULTIDELIMITEDFIELDCOUNT
public static final java.lang.String GETMULTIDELIMITEDFIELD
public DCDriverStringCommands()
public void process()
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
process
in class DriverCommand
public boolean setVar(java.lang.String varName, java.lang.String val) throws SAFSException
varName,
- Stringval,
- StringSAFSException
public boolean checkParams(int expected) throws SAFSException
expected,
- intSAFSException
public int getInt(java.util.Iterator iterator) throws SAFSException
iterator,
- IteratorSAFSException
- if not a numberCopyright © SAS Institute. All Rights Reserved.