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, runDriverCommand
public static EmbeddedHookDriver driver
public final java.lang.Thread SHUTDOWN_HOOK
public EmbeddedHookDriverDriver(java.lang.Class<?> clazz)
clazz
- EmbeddedDCHookDriver
,
org.safs.selenium.EmbeddedSeleniumHookDriver
protected JSAFSDriver jsafs()
jsafs
in class AbstractDriver
EmbeddedHookDriver
protected InputProcessor processor()
processor
in class AbstractDriver
public 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 AbstractDriver
java.lang.Exception
AutoConfigureJSAFS
,
AbstractRunner.autorun(String[])
public void shutdown() throws java.lang.Exception
shutdown
in class AbstractDriver
java.lang.Exception
EmbeddedHookDriver.shutdown()
@Deprecated public void shutdownDriver() throws java.lang.Exception
shutdown()
instead.java.lang.Exception
EmbeddedHookDriver.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 AbstractDriver
command
- The DriverCommand keyword (command) to performparameters
- String[] of parameters used by the command. Can be null.java.lang.Throwable
StatusCodes.GENERAL_SCRIPT_FAILURE
,
Success
,
StatusCodes.SCRIPT_WARNING
,
StatusCodes.SCRIPT_NOT_EXECUTED
public 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 AbstractDriver
command
- 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.Throwable
StatusCodes.GENERAL_SCRIPT_FAILURE
,
StatusCodes.OK
,
StatusCodes.SCRIPT_WARNING
,
StatusCodes.SCRIPT_NOT_EXECUTED
Copyright © SAS Institute. All Rights Reserved.