public class TIDDriverFlowCommands extends GenericEngine
This DriverCommands engine does not assume the use of STAF. Instead, it uses the various org.safs.tools Interfaces to talk with the rest of the framework (as made available via the DriverInterface configuration).
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
command |
(package private) static java.lang.String |
COMMAND_CALL_CYCLE
"CallCycle"
|
(package private) static java.lang.String |
COMMAND_CALL_STEP
"CallStep"
|
(package private) static java.lang.String |
COMMAND_CALL_SUITE
"CallSuite"
|
(package private) static java.lang.String |
COMMAND_CALLJUNIT
"CallJUnit"
|
(package private) static java.lang.String |
COMMAND_CALLTESTNG
"CallTestNG"
|
(package private) static java.lang.String |
COMMAND_EXIT_CYCLE
"ExitCycle"
|
(package private) static java.lang.String |
COMMAND_EXIT_SUITE
"ExitSuite"
|
(package private) static java.lang.String |
COMMAND_EXIT_TABLE
"ExitTable"
|
(package private) static java.lang.String |
COMMAND_GOTO_BLOCKID
"GotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_CONTAINS_GOTO_BLOCKID
"OnContainsGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_DIRECTORY_EXIST_GOTO_BLOCKID
"OnDirectoryExistGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_DIRECTORY_NOT_EXIST_GOTO_BLOCKID
"OnDirectoryNotExistGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_EQUAL_GOTO_BLOCKID
"OnEqualGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_FILE_EXIST_GOTO_BLOCKID
"OnFileExistGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_FILE_NOT_EXIST_GOTO_BLOCKID
"OnFileNotExistGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_GREATER_THAN_GOTO_BLOCKID
"OnGreaterThanGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_IN_RANGE_GOTO_BLOCKID
"OnInRangeGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_LESS_THAN_GOTO_BLOCKID
"OnLessThanGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_NOT_CONTAINS_GOTO_BLOCKID
"OnNotContainsGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_NOT_EQUAL_GOTO_BLOCKID
"OnNotEqualGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_NOT_GREATER_THAN_GOTO_BLOCKID
"OnNotGreaterThanGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_NOT_IN_RANGE_GOTO_BLOCKID
"OnNotInRangeGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_NOT_LESS_THAN_GOTO_BLOCKID
"OnNotLessThanGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_REGISTRY_KEY_EXIST_GOTO_BLOCKID
"OnRegistryKeyExistGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ON_REGISTRY_KEY_NOT_EXIST_GOTO_BLOCKID
"OnRegistryKeyNotExistGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ONGUIEXISTS_GOTO_BLOCKID
"OnGuiExistsGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_ONGUINOTEXIST_GOTO_BLOCKID
"OnGuiNotExistGotoBlockID"
|
(package private) static java.lang.String |
COMMAND_SET_EXIT_TABLE_BLOCK
Internal Driver Command: SetExitTableBlock
|
(package private) static java.lang.String |
COMMAND_SET_GENERAL_SCRIPT_FAILURE_BLOCK
Internal Driver Command: SetGeneralScriptFailureBlock
|
(package private) static java.lang.String |
COMMAND_SET_INVALID_FILE_IO_BLOCK
Internal Driver Command: SetInvalidFileIOBlock
|
(package private) static java.lang.String |
COMMAND_SET_NO_SCRIPT_FAILURE_BLOCK
Internal Driver Command: SetNoScriptFailureBlock
|
(package private) static java.lang.String |
COMMAND_SET_SCRIPT_NOT_EXECUTED_BLOCK
Internal Driver Command: SetScriptNotExecutedBlock
|
(package private) static java.lang.String |
COMMAND_SET_SCRIPT_WARNING_BLOCK
Internal Driver Command: SetScriptWarningBlock
|
(package private) static java.lang.String |
COMMAND_USE_LOCAL_FLOW_CONTROL
Internal Driver Command: UseLocalFlowControl
|
(package private) java.lang.String |
detail |
(package private) static java.lang.String |
ENGINE_NAME
"SAFS/TIDDriverFlowCommands"
|
(package private) java.lang.String |
message |
(package private) java.lang.String |
rtype |
(package private) static java.lang.String |
SAFS_DATAPOOL_DIR |
console, description, process, productName, testRecordData, testrecordStackable, version
config, customStr, customText, debugStr, debugText, driver, DRIVER_TEMP_PROCESS, failedStr, failedText, genericStr, genericText, launchCount, log, machine, otherStr, otherText, passedStr, passedText, processName, running, SAFS_RESBUN_NAME, servicename, shutdownCount, staf, STAFPROC_EXE, warningStr, warningText, weStartedService, weStartedSTAF
COMMAND_SHUTDOWN_HOOK
Constructor and Description |
---|
TIDDriverFlowCommands()
Constructor for TIDDriverCommands
|
TIDDriverFlowCommands(DriverInterface driver)
PREFERRED Constructor for TIDDriverCommands.
|
Modifier and Type | Method and Description |
---|---|
void |
launchInterface(java.lang.Object configInfo)
Typically expects a DriverInterface object for initialization.
|
long |
processRecord(TestRecordHelper testRecordData)
Process the record present in the provided testRecordData.
|
deduceBenchFile, deduceProjectFile, deduceTestFile, getAppMapItem, getDescription, getEngineName, getProductName, getVariable, getVersion, isToolRunning, logMessage, makeQuotedPath, makeQuotedString, popTestRecord, postShutdownServiceDelay, pushTestRecord, reset, resetShutdownSemaphore, saveTestRecordScreenToTestDirectory, setDescription, setProductName, setTRDStatus, setVariable, setVersion, shutdownService, waitHookShutdownAndReset
configureJSTAFServiceEmbeddedJVMOption, extendedGenericMessage, finalize, getCoreInterface, getEmbedded64JVMBinPath, getEmbeddedJVMBinPath, getSTAFHelper, logMessage, setLogUtilities, setLogUtilities, shutdown, simpleGenericMessage, simpleGenericSuccessMessage, simpleGenericWarningMessage, simpleSuccessMessage, simpleSuccessMessage, simpleSuccessUsingMessage, standardErrorMessage, waitForServiceStartCompletion
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCoreInterface, shutdown
static final java.lang.String ENGINE_NAME
static final java.lang.String COMMAND_EXIT_TABLE
static final java.lang.String COMMAND_EXIT_SUITE
static final java.lang.String COMMAND_EXIT_CYCLE
static final java.lang.String COMMAND_CALL_CYCLE
static final java.lang.String COMMAND_CALL_SUITE
static final java.lang.String COMMAND_CALL_STEP
static final java.lang.String COMMAND_CALLTESTNG
static final java.lang.String COMMAND_CALLJUNIT
static final java.lang.String COMMAND_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_CONTAINS_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_NOT_CONTAINS_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_EQUAL_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_NOT_EQUAL_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_GREATER_THAN_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_NOT_GREATER_THAN_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_LESS_THAN_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_NOT_LESS_THAN_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_IN_RANGE_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_NOT_IN_RANGE_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_FILE_EXIST_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_FILE_NOT_EXIST_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_REGISTRY_KEY_EXIST_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_REGISTRY_KEY_NOT_EXIST_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_DIRECTORY_EXIST_GOTO_BLOCKID
static final java.lang.String COMMAND_ON_DIRECTORY_NOT_EXIST_GOTO_BLOCKID
static final java.lang.String COMMAND_ONGUIEXISTS_GOTO_BLOCKID
static final java.lang.String COMMAND_ONGUINOTEXIST_GOTO_BLOCKID
static final java.lang.String COMMAND_USE_LOCAL_FLOW_CONTROL
static final java.lang.String COMMAND_SET_EXIT_TABLE_BLOCK
static final java.lang.String COMMAND_SET_GENERAL_SCRIPT_FAILURE_BLOCK
static final java.lang.String COMMAND_SET_INVALID_FILE_IO_BLOCK
static final java.lang.String COMMAND_SET_NO_SCRIPT_FAILURE_BLOCK
static final java.lang.String COMMAND_SET_SCRIPT_NOT_EXECUTED_BLOCK
static final java.lang.String COMMAND_SET_SCRIPT_WARNING_BLOCK
java.lang.String command
java.lang.String message
java.lang.String detail
java.lang.String rtype
static final java.lang.String SAFS_DATAPOOL_DIR
public TIDDriverFlowCommands()
public TIDDriverFlowCommands(DriverInterface driver)
public void launchInterface(java.lang.Object configInfo)
GenericEngine
launchInterface
in interface ConfigurableToolsInterface
launchInterface
in class GenericEngine
configInfo
- can be whatever the final implementation needs it to be. This
might be a String with configuration information, the name of a class, or an instance
of some object used to provide configuration assets.GenericEngine.launchInterface(Object)
public long processRecord(TestRecordHelper testRecordData)
processRecord
in interface EngineInterface
processRecord
in class GenericEngine
EngineInterface#processRecord()
Copyright © SAS Institute. All Rights Reserved.