public class EmbeddedSeleniumHookDriver extends EmbeddedHookDriver
This is primarily a proof-of-concept at this time. Users would use a subclass of this class for runtime execution inside the Selenium engine.
The class has the same config requirements as JSAFSDriver. However, the new implementations of the EmbeddedHookDriver will attempt to use default values (test.ini) if
EmbeddedHookDriver,
JSAFSDriver| Modifier and Type | Field and Description |
|---|---|
(package private) static boolean |
enableLogs |
HOOK_DRIVER_NAME, SAFS_PROJECT_CONFIG, TEST_INI_DEFAULTdata, DEBUG_MESSAGE, errorText, FAILED_MESSAGE, FAILED_OK_MESSAGE, GENERIC_ERROR, GENERIC_MESSAGE, helper, log, PASSED_MESSAGE, PAUSE_EXECUTION, PAUSE_SWITCH_OFF, PAUSE_SWITCH_ON, process_name, processor, REQUEST_PROCEED_TESTING, REQUEST_USER_STOPPED_SCRIPT_REQUEST, RUNNING_EXECUTION, semaphore_name, SHUTDOWN_RECORD, STAF_ERROR, STEP_EXECUTION, STEP_RETRY_EXECUTION, STEPPING_EXECUTION, STEPPING_RETRY_EXECUTION, trd_name, utils, WARNING_MESSAGE, WARNING_OK_MESSAGE| Constructor and Description |
|---|
EmbeddedSeleniumHookDriver()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Processor |
getEngineDriverCommandProcessor()
Subclasses should instantiate an engine-specific DriverCommands Processor here.
|
DDGUIUtilities |
getGUIUtilities()
Subclasses should override this method to retrieve/create the DDGUIUtilities instance
needed by the specific engine subclass.
|
TestRecordHelper |
getTRDData()
Instantiates a default DCTestRecordHelper for this engine.
|
getEngineEngineCommandProcessor, getEngineTestStepProcessor, getLogUtilities, getRequestProcessor, initialize, jsafs, run, setHelper, shutdown, startallowSystemExit, driverShutdownRequest, evaluateRuntimeException, getHelper, getProcessName, getSemaphoreName, getTRDName, hook_shutdown, initConfigPaths, setGUIUtilities, setLogUtilities, setProcessName, setRequestProcessor, setSemaphoreName, setTRDData, setTRDNamepublic EmbeddedSeleniumHookDriver()
public TestRecordHelper getTRDData()
getTRDData in class EmbeddedHookDriverJavaHook#getTRDData(),
DCTestRecordHelperpublic Processor getEngineDriverCommandProcessor()
EmbeddedHookDrivergetEngineDriverCommandProcessor in class EmbeddedHookDriverpublic DDGUIUtilities getGUIUtilities()
EmbeddedHookDriverA newly instantiated DDGUIUtilities should have critical helpers set:
Note that the call to getTRDData() may force the instantiation of the default TestRecordHelper if one has not already been set.
getGUIUtilities in class EmbeddedHookDriverJavaHook.getHelper(),
EmbeddedHookDriver.getTRDData(),
DCGUIUtilities