public class JREXStepProcessor extends Processor
Modifier and Type | Field and Description |
---|---|
(package private) ApplicationMap |
appmap |
STAFHelper |
helper |
(package private) java.lang.String |
myMap
Purpose: process: process the testRecordData |
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 |
---|
JREXStepProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
checkUncheck() |
void |
click() |
protected boolean |
instantiateAndProcessStepCommand(java.util.Collection params) |
protected java.util.Collection |
interpretFields()
Purpose: Interprets the fields of the test record and puts the appropriate values into the fields of testRecordData. |
boolean |
isSupportedRecordType(java.lang.String recordType)
Supports standard TEST STEP record types (T, TW, TF)
|
void |
process()
The primary method that all subclasses must implement.
|
void |
select(java.lang.String value) |
void |
selectIndex(java.lang.String value) |
void |
setTextValue(java.lang.String value) |
void |
setUnverifiedTextValue(java.lang.String value) |
void |
verifyTextValue(java.lang.String value) |
activateBreakpoint, checkBreakpoints, checkMyBreakpoints, deduceBenchFile, deduceProjectFile, deduceTestFile, delay, distributeConfigInformation, getAlternateParams, 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
java.lang.String myMap
At this point the Driver has determined we are dealing with a Driver Command Record.
Field #1: The record type (C).
Subsequent fields would be as follows (with a separator between each field):
Field: #2 #3 - N
============== ==============
COMMAND, [PARAMETER(S),]
COMMAND the driver command
Side Effects: Processor.testRecordData
statusCode is set
based on the result of the processing
State Read: Processor.testRecordData
Assumptions: an 'SAFSException' is caught here, and if so, the status code
is set to StatusCodes.WRONG_NUM_FIELDS, which is the only error which should come
from the interpretFields() method which we call. This only happens if we don't have
the token (2)
Added by dbauman Feb, 2004 so that a variable remains for the next test with
the status code. Copies the status code to variable 'customStatusCode'
public STAFHelper helper
ApplicationMap appmap
public boolean isSupportedRecordType(java.lang.String recordType)
isSupportedRecordType
in class Processor
recordType
- -- String text of record type to match (ignoring case).public void process()
Processor
Thus, any subclassing Processor should attempt to process it's own commands and then invoke super.process() to try any chained Processor(s).
Otherwise, by default executes setRecordProcessed(false) if no chainedProcessor is present.
protected java.util.Collection interpretFields() throws SAFSException
Processor.testRecordData
fields are set from the inputRecord.
Processor.testRecordData
, the inputRecord field
Field #1: The TEST record type (T).
Subsequent fields would be as follows (with a separator between each field):
Field: #2 #3 #4 #5 - N
============== ============== ======== ===============
WINDOWNAME, COMPONENTNAME, ACTION, [PARAMETER(S),]
SAFSException
protected boolean instantiateAndProcessStepCommand(java.util.Collection params)
public void setTextValue(java.lang.String value) throws SAFSException
SAFSException
public void setUnverifiedTextValue(java.lang.String value) throws SAFSException
SAFSException
public void verifyTextValue(java.lang.String value) throws SAFSException
SAFSException
public void select(java.lang.String value) throws SAFSException
SAFSException
public void click() throws SAFSException
SAFSException
public void checkUncheck() throws SAFSException
SAFSException
public void selectIndex(java.lang.String value) throws SAFSException
SAFSException