public class EmbeddedHookDriverDriver extends AbstractDriver
JSAFSDriver| Modifier and Type | Field and Description |
|---|---|
static EmbeddedHookDriver |
driver
An available reference to an EmbeddedHookDriver
|
java.lang.Thread |
SHUTDOWN_HOOK
This is an 'AfterAll' JVM ShutdownHook--if it is needed.
|
_instance, APPMAP_FILES_PROPERTY, APPMAP_ORDER_PROPERTY, BASH, COMMA, DEFAULT_APPMAP_ORDER, HASH, SEMI| Constructor and Description |
|---|
EmbeddedHookDriverDriver(java.lang.Class<?> clazz)
Initialize an instance of the EmbedddedHookDriverDriver with the
specific of EmbeddedHookDriver to instantiate.
|
| Modifier and Type | Method and Description |
|---|---|
TestRecordHelper |
initializeTestRecordData(AbstractCommand model,
java.lang.String separator) |
protected JSAFSDriver |
jsafs()
Provided by our internal EmbeddedHookDriver.
|
protected InputProcessor |
processor()
Does not support storing or using an InputProcessor internally.
|
void |
run()
Must be called at least once to initialize the internal Driver.
|
TestRecordHelper |
runComponentFunctionConverted(java.lang.String command,
java.lang.String child,
java.lang.String parent,
java.lang.String... parameters)
Run a SAFS Component Function on a child component in a parent (Window).
|
TestRecordHelper |
runDriverCommandConverted(java.lang.String command,
java.lang.String... parameters)
Run a SAFS Driver Command.
|
void |
shutdown()
Used to invoke the Driver shutdown function.
|
void |
shutdownDriver()
Deprecated.
Use the same method name defined in the super class. Please use
shutdown() instead. |
iDriver, preloadAppMapExpressions, preloadAppMaps, processExpression, processExpressions, runComponentFunction, runComponentFunction, runComponentFunction, runDriverCommandpublic static EmbeddedHookDriver driver
public final java.lang.Thread SHUTDOWN_HOOK
public EmbeddedHookDriverDriver(java.lang.Class<?> clazz)
clazz - EmbeddedDCHookDriver,
org.safs.selenium.EmbeddedSeleniumHookDriverprotected JSAFSDriver jsafs()
jsafs in class AbstractDriverEmbeddedHookDriverprotected InputProcessor processor()
processor in class AbstractDriverpublic void run()
throws java.lang.Exception
It can be called automatically by annotations (dependency injection), or be called from an overriding test controller like a JUnit runner, if appropriate.
run in class AbstractDriverjava.lang.ExceptionAutoConfigureJSAFS,
AbstractRunner.autorun(String[])public void shutdown()
throws java.lang.Exception
shutdown in class AbstractDriverjava.lang.ExceptionEmbeddedHookDriver.shutdown()@Deprecated
public void shutdownDriver()
throws java.lang.Exception
shutdown() instead.java.lang.ExceptionEmbeddedHookDriver.shutdown()public TestRecordHelper initializeTestRecordData(AbstractCommand model, java.lang.String separator)
public TestRecordHelper runDriverCommandConverted(java.lang.String command, java.lang.String... parameters) throws java.lang.Throwable
runDriverCommandConverted in class AbstractDrivercommand - The DriverCommand keyword (command) to performparameters - String[] of parameters used by the command. Can be null.java.lang.ThrowableStatusCodes.GENERAL_SCRIPT_FAILURE,
Success,
StatusCodes.SCRIPT_WARNING,
StatusCodes.SCRIPT_NOT_EXECUTEDpublic TestRecordHelper runComponentFunctionConverted(java.lang.String command, java.lang.String child, java.lang.String parent, java.lang.String... parameters) throws java.lang.Throwable
runComponentFunctionConverted in class AbstractDrivercommand - The ComponentFunction keyword (action) to performchild - The ComponentFunction child component name to act onparent - The ComponentFunction parent window name to act onparameters - String[] of parameters used by the command. Can be null.java.lang.ThrowableStatusCodes.GENERAL_SCRIPT_FAILURE,
StatusCodes.OK,
StatusCodes.SCRIPT_WARNING,
StatusCodes.SCRIPT_NOT_EXECUTEDCopyright © SAS Institute. All Rights Reserved.