Modifier and Type | Class and Description |
---|---|
class |
DCTestRecordHelper
Concrete subclass of TestRecordHelper that provides no additional functionality.
|
class |
SocketTestRecordHelper |
Modifier and Type | Field and Description |
---|---|
protected TestRecordHelper |
RobotJHook.data |
protected TestRecordHelper |
JavaHook.data
The TestRecordHelper the hook will use for handling TestRecordData.
|
static TestRecordHelper |
SAFSPlus.prevResults
Holds the TestRecordHelper object containing detailed information and results for
the last action or command executed.
|
protected TestRecordHelper |
ProcessRequest.testRecordData
TestRecordData Helper subclass to be used by this processor.
|
protected TestRecordHelper |
Processor.testRecordData
Purpose: holds the testRecordData info Initialized: constructor |
Modifier and Type | Method and Description |
---|---|
TestRecordHelper |
ProcessRequest.getTestRecordData() |
TestRecordHelper |
Processor.getTestRecordData() |
protected abstract TestRecordHelper |
RobotJHook.getTestRecordDataFactory() |
protected abstract TestRecordHelper |
RobotJHook.getTestRecordDataFactory(DDGUIUtilities utils) |
TestRecordHelper |
JavaSocketsHook.getTRDData()
Retrieve the SocketTestRecordHelper used by the subclass.
|
abstract TestRecordHelper |
JavaHook.getTRDData()
Retrieve the TestRecordHelper used by the subclass.
|
TestRecordHelper |
EmbeddedDCHookDriver.getTRDData()
Instantiates a default DCTestRecordHelper for this engine.
|
TestRecordHelper |
DCJavaHook.getTRDData()
Use this method to retain the current/default DDGUIUtilities implementation.
|
Modifier and Type | Method and Description |
---|---|
void |
ProcessRequest.setTestRecordData(TestRecordHelper testRecordData) |
void |
Processor.setTestRecordData(TestRecordHelper testRecordData) |
void |
JavaSocketsHook.setTRDData(TestRecordHelper trd_data)
Force the use of a SocketTestRecordHelper as required by the underlying remote engine hook.
|
void |
JavaHook.setTRDData(TestRecordHelper trd_data) |
protected static boolean |
SAFSPlus.testStatusCode(java.lang.String command,
TestRecordHelper testRecord)
Check the status code of the TestRecord.
|
Constructor and Description |
---|
DCJavaHook(java.lang.String process_name,
java.lang.String trd_name,
LogUtilities logs,
TestRecordHelper trd_data,
DDGUIUtilities gui_utils,
ProcessRequest aprocessor)
Advanced Constructor for DCJavaHook.
|
JavaHook(java.lang.String process_name,
java.lang.String trd_name,
LogUtilities logs,
TestRecordHelper trd_data,
DDGUIUtilities gui_utils,
ProcessRequest aprocessor)
Advanced Constructor.
|
ProcessRequest(TestRecordHelper testRecordData,
LogUtilities log)
Standard constructor allowing for default Driver Command and Test Step Processors.
|
ProcessRequest(TestRecordHelper testRecordData,
LogUtilities log,
Processor altDriverCommandsProcessor,
Processor altTestStepProcessor,
Processor altCustomDriverCommandsProcessor,
Processor altCustomTestStepProcessor)
Advanced constructor allowing for Driver Command and Test Step Processors different
from the those provided by default.
|
ProcessRequest(TestRecordHelper testRecordData,
LogUtilities log,
Processor altEngineCommandsProcessor,
Processor altDriverCommandsProcessor,
Processor altTestStepProcessor,
Processor altCustomEngineCommandsProcessor,
Processor altCustomDriverCommandsProcessor,
Processor altCustomTestStepProcessor)
Advanced constructor allowing for Engine, Driver, and Test Processors different
from the those provided by default.
|
ProcessRequest(TestRecordHelper testRecordData,
LogUtilities log,
java.util.Vector processorList)
Advanced constructor allowing for an alternate list of processors.
|
Modifier and Type | Class and Description |
---|---|
class |
DTestRecordHelper
Extends TestRecordHelper, which holds key data used by the SAFS/Droid Engine.
Based on the SAFS Test Record Data doc. |
Modifier and Type | Method and Description |
---|---|
TestRecordHelper |
DJavaHook.getTRDData()
Use this method to retrieve/create the current/default TestRecordHelper instance.
|
Modifier and Type | Method and Description |
---|---|
void |
DTestStepProcessor.setTestRecordData(TestRecordHelper data) |
void |
DEngineCommandProcessor.setTestRecordData(TestRecordHelper data) |
void |
DDriverCommand.setTestRecordData(TestRecordHelper data) |
void |
CFComponentFunctions.setTestRecordData(TestRecordHelper data)
Transfers all DTestRecordHelper data into the receiving Processor.
|
Modifier and Type | Method and Description |
---|---|
TestRecordHelper |
SAFSActions.runComponentFunction(java.lang.String command,
java.lang.String parent)
Run a SAFS Component Function on a top-level component (Window).
|
TestRecordHelper |
SAFSActions.runComponentFunction(java.lang.String command,
java.lang.String parent,
java.util.List<java.lang.String> parameters)
Run a SAFS Component Function on a top-level parent (Window).
|
TestRecordHelper |
SAFSActions.runComponentFunction(java.lang.String command,
java.lang.String child,
java.lang.String parent)
Run a SAFS Component Function on a child component in a parent (Window).
|
TestRecordHelper |
SAFSActions.runComponentFunction(java.lang.String command,
java.lang.String child,
java.lang.String parent,
java.util.List<java.lang.String> parameters)
Run a SAFS Component Function on a child component in a parent (Window).
|
TestRecordHelper |
SAFSCommands.runDriverCommand(java.lang.String command)
Run a SAFS Driver Command.
|
TestRecordHelper |
SAFSCommands.runDriverCommand(java.lang.String command,
java.util.List<java.lang.String> parameters)
Run a SAFS Driver Command.
|
Modifier and Type | Field and Description |
---|---|
protected static TestRecordHelper |
SAFSSteps.helper
Access to a SAFS TestRecordHelper to retrieve status information about SAFS execution.
|
Modifier and Type | Method and Description |
---|---|
TestRecordHelper |
StepDefinitions.runComponentFunction(java.lang.String command,
java.lang.String parent)
Run a SAFS Component Function on a top-level component (Window).
|
TestRecordHelper |
StepDefinitions.runComponentFunction(java.lang.String command,
java.lang.String parent,
java.util.List<java.lang.String> parameters)
Run a SAFS Component Function on a top-level parent (Window).
|
TestRecordHelper |
StepDefinitions.runComponentFunction(java.lang.String command,
java.lang.String child,
java.lang.String parent)
Run a SAFS Component Function on a child component in a parent (Window).
|
TestRecordHelper |
StepDefinitions.runComponentFunction(java.lang.String command,
java.lang.String child,
java.lang.String parent,
java.util.List<java.lang.String> parameters)
Run a SAFS Component Function on a child component in a parent (Window).
|
TestRecordHelper |
StepDefinitions.runComponentFunctionConverted(java.lang.String command,
java.lang.String child,
java.lang.String parent,
java.util.List<java.lang.String> parameters)
Run a SAFS Component Function on a child component in a parent (Window).
|
TestRecordHelper |
StepDefinitions.runDriverCommand(java.lang.String command)
Run a SAFS Driver Command.
|
TestRecordHelper |
StepDefinitions.runDriverCommand(java.lang.String command,
java.util.List<java.lang.String> parameters)
Run a SAFS Driver Command.
|
TestRecordHelper |
StepDefinitions.runDriverCommandConverted(java.lang.String command,
java.util.List<java.lang.String> parameters)
Run a SAFS Driver Command.
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.awt.Rectangle |
ImageUtils.findCompImageInRectangle(TestRecordHelper trd,
java.lang.String imagepath,
int imageindex,
java.lang.String[] modifiers,
java.awt.Rectangle rect)
Called by findComponentRectangle.
|
static java.awt.Rectangle |
ImageUtils.findComponentRectangle(TestRecordHelper trd)
Calls findComponentRectangle with a timeout of 0.
|
static java.awt.Rectangle |
ImageUtils.findComponentRectangle(TestRecordHelper trd,
long timeout)
Locate the final Window:Component Rectangle specified by the test record.
|
static java.awt.Rectangle |
ImageUtils.findImageLocation(TestRecordHelper trd,
boolean imageBR,
java.lang.String imagepath,
java.awt.Rectangle searchRec,
int nthindex)
Routine to find an image on the screen.
|
static ImageUtils.ModifiedRectInfo |
ImageUtils.modifyLocWidthHeight(TestRecordHelper trd,
java.awt.Rectangle winloc,
java.lang.String[] modifiers)
Attempt to expand the winloc Rectangle based on locating IMAGEW and IMAGEH
images specified in the recognition string.
|
static java.io.File |
ImageUtils.retrieveAbsoluteFileOrDirectory(TestRecordHelper trd,
java.lang.String path)
path must not be null or 0-length
|
Modifier and Type | Class and Description |
---|---|
class |
ITestRecordHelper
Extends TestRecordHelper, which holds key data used by the Apple IOS Engine.
Based on the SAFS Test Record Data doc. |
Modifier and Type | Method and Description |
---|---|
TestRecordHelper |
IJavaHook.getTRDData()
Use this method to retrieve/create the current/default TestRecordHelper instance.
|
Modifier and Type | Method and Description |
---|---|
protected static IStatus |
CFComponent.processIOSScript(java.lang.String jsSubdir,
java.lang.String jscript,
java.lang.String jsAppend,
TestRecordHelper testRecordData) |
Constructor and Description |
---|
IJavaHook(java.lang.String process_name,
java.lang.String trd_name,
LogUtilities logs,
TestRecordHelper trd_data,
DDGUIUtilities gui_utils,
ProcessRequest aprocessor)
Advanced Constructor for IJavaHook.
|
Modifier and Type | Method and Description |
---|---|
protected TestRecordHelper |
JSAFSAdvancedRuntime.initTestRecordData(TestRecordHelper store)
Convienience (re)initializer for a TestRecordHelper.
|
Modifier and Type | Method and Description |
---|---|
protected TestRecordHelper |
JSAFSAdvancedRuntime.initTestRecordData(TestRecordHelper store)
Convienience (re)initializer for a TestRecordHelper.
|
Modifier and Type | Method and Description |
---|---|
static TestRecordHelper |
Runner.action(Component comp,
java.lang.String keyword,
java.lang.String... params)
Run any SAFS ComponentFunction not already in a convenience wrapper routine.
|
TestRecordHelper |
AbstractRunner.action(Component comp,
java.lang.String command,
java.lang.String... params) |
static TestRecordHelper |
Runner.action(java.lang.String keyword,
java.lang.String child,
java.lang.String parent,
java.lang.String... params)
Run any SAFS ComponentFunction not already in a convenience wrapper routine.
|
TestRecordHelper |
AbstractRunner.action(java.lang.String command,
java.lang.String window,
java.lang.String component,
java.lang.String... params) |
static TestRecordHelper |
Runner.Click(Component comp,
java.lang.String... params)
A single click on an object.
|
static TestRecordHelper |
Runner.command(java.lang.String keyword,
java.lang.String... params)
Run any SAFS DriverCommand not already in a convenience wrapper routine.
|
TestRecordHelper |
AbstractRunner.command(java.lang.String command,
java.lang.String... params) |
static TestRecordHelper |
Runner.ControlClick(Component comp,
java.lang.String... params)
A CTRL-click on an object.
|
static TestRecordHelper |
Runner.DoubleClick(Component comp,
java.lang.String... params)
A double click on an object.
|
TestRecordHelper |
EmbeddedHookDriverDriver.initializeTestRecordData(AbstractCommand model,
java.lang.String separator) |
static TestRecordHelper |
Runner.InputCharacters(Component comp,
java.lang.String keys)
Sends keystrokes to the specified component.
|
static TestRecordHelper |
Runner.InputKeys(Component comp,
java.lang.String keys)
Sends keystrokes to the specified component.
|
static TestRecordHelper |
Runner.RightClick(Component comp,
java.lang.String... params)
A single RightClick on an object.
|
TestRecordHelper |
AbstractDriver.runComponentFunction(java.lang.String command,
java.lang.String parent)
Run a SAFS Component Function on a top-level component (Window).
|
TestRecordHelper |
AbstractDriver.runComponentFunction(java.lang.String command,
java.lang.String child,
java.lang.String parent)
Run a SAFS Component Function on a child component in a parent (Window).
|
TestRecordHelper |
AbstractDriver.runComponentFunction(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 |
EmbeddedHookDriverDriver.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 |
AbstractDriver.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 |
AbstractDriver.runDriverCommand(java.lang.String command,
java.lang.String... parameters)
Run the specified DriverCommand requiring zero or more parameters.
|
TestRecordHelper |
EmbeddedHookDriverDriver.runDriverCommandConverted(java.lang.String command,
java.lang.String... parameters)
Run a SAFS Driver Command.
|
TestRecordHelper |
AbstractDriver.runDriverCommandConverted(java.lang.String command,
java.lang.String... parameters)
Run a SAFS Driver Command.
|
static TestRecordHelper |
Runner.Select(Component list,
java.lang.String... text)
Set the value of a supported EditBox or TextField.
|
static TestRecordHelper |
Runner.SetTextValue(Component textfield,
java.lang.String... text)
Set the value of a supported EditBox or TextField.
|
static TestRecordHelper |
Runner.SetUnverifiedTextCharacters(Component textfield,
java.lang.String... text)
Set the value of a supported EditBox or TextField.
|
static TestRecordHelper |
Runner.SetVariableValues(java.lang.String... expressions)
Sets one or more SAFS variable values for use by the SAFS system.
|
static TestRecordHelper |
Runner.VerifyProperty(Component comp,
java.lang.String propertyName,
java.lang.String expectedValue,
boolean isCaseSensitive)
Verify the value of a property on the component.
|
static TestRecordHelper |
Runner.VerifyPropertyContains(Component comp,
java.lang.String propertyName,
java.lang.String substringValue,
boolean isCaseSensitive)
Verify the value of a property on the component contains a specific substring (partial match).
|
static TestRecordHelper |
Runner.VerifyValueContains(java.lang.String value,
java.lang.String substring)
Verify the value contains the substring.
|
static TestRecordHelper |
Runner.VerifyValueDoesNotContain(java.lang.String value,
java.lang.String substring)
Verify the value does NOT contain the substring.
|
static TestRecordHelper |
Runner.VerifyValues(java.lang.String value1,
java.lang.String value2)
Verify that two string values are equal.
|
static TestRecordHelper |
Runner.VerifyValuesNotEqual(java.lang.String value1,
java.lang.String value2)
Verify that two string values are NOT equal.
|
Modifier and Type | Class and Description |
---|---|
class |
RTestRecordData
Purpose:RTestRecordData: extends TestRecordData, which holds key data used by a driver, like step driver. |
Modifier and Type | Method and Description |
---|---|
protected TestRecordHelper |
RRobotJHook.getTestRecordDataFactory() |
protected TestRecordHelper |
RRobotJHook.getTestRecordDataFactory(DDGUIUtilities utils) |
Constructor and Description |
---|
RMITestRecordData(TestRecordHelper trd)
Constructor presets windowObject and compObject.
|
RMITestRecordData(TestRecordHelper trd,
java.lang.Object win,
java.lang.Object comp)
Constructor presets windowObject and compObject.
|
Modifier and Type | Class and Description |
---|---|
class |
STestRecordHelper
Extends TestRecordHelper, which holds key data used by the LocalServer Selenium Engine.
|
Modifier and Type | Method and Description |
---|---|
TestRecordHelper |
SeleniumJavaHook.getTRDData()
Use this method to retrieve/create the current/default TestRecordHelper instance.
|
Constructor and Description |
---|
SeleniumJavaHook(java.lang.String process_name,
java.lang.String trd_name,
LogUtilities logs,
TestRecordHelper trd_data,
DDGUIUtilities gui_utils,
ProcessRequest aprocessor)
Advanced Constructor for SeleniumJavaHook.
|
Modifier and Type | Class and Description |
---|---|
class |
WDTestRecordHelper
Extends TestRecordHelper, which holds key data used by the LocalServer Selenium Engine.
|
Modifier and Type | Method and Description |
---|---|
TestRecordHelper |
SeleniumHook.getTRDData()
Use this method to retrieve/create the current/default TestRecordHelper instance.
|
TestRecordHelper |
EmbeddedSeleniumHookDriver.getTRDData()
Instantiates a default DCTestRecordHelper for this engine.
|
Constructor and Description |
---|
SeleniumHook(java.lang.String process_name,
java.lang.String trd_name,
LogUtilities logs,
TestRecordHelper trd_data,
DDGUIUtilities gui_utils,
ProcessRequest aprocessor)
Advanced Constructor for SeleniumHook.
|
Modifier and Type | Class and Description |
---|---|
class |
STAFProcessContainerHelper |
Modifier and Type | Field and Description |
---|---|
protected TestRecordHelper |
AbstractInputProcessor.testRecordData
Stores input record information for the driver and some engines.
|
TestRecordHelper |
JSAFSDriver.testRecordHelper |
Modifier and Type | Method and Description |
---|---|
TestRecordHelper |
EmbeddedHookDriver.getTRDData()
Retrieve the TestRecordHelper used by the subclass.
This will almost always be overridden by an engine-specific subclass. |
TestRecordHelper |
InputProcessor.initTestRecordData(java.lang.String record,
java.lang.String separator) |
TestRecordHelper |
JSAFSDriver.initTestRecordData(TestRecordHelper store)
Convienience (re)initializer for a TestRecordHelper.
|
TestRecordHelper |
JSAFSDriver.processCommand(AbstractCommand command)
Execute the desired AbstractCommand using the default field separator for the record.
|
TestRecordHelper |
JSAFSDriver.processCommand(AbstractCommand command,
java.lang.String separator)
This method can process DriverCommand or ComponentFunction just as runDriverCommand()
or runComponentFunction(), further more it includes the functionality of SAFSMonitor
so users can interctively PAUSE, STEP, DEBUG their script and SHUTDOWN the engine hook.
|
protected TestRecordHelper |
JSAFSDriver.processCommandDirect(AbstractCommand command,
java.lang.String separator)
Execute the desired AbstractCommand using the specified field separator for the record.
|
TestRecordHelper |
JSAFSDriver.runComponentFunction(ComponentFunction command)
Execute the desired ComponentFunction using the default field separator for the record.
|
TestRecordHelper |
JSAFSDriver.runComponentFunction(ComponentFunction command,
java.lang.String separator)
Execute the desired ComponentFunction using the specified field separator for the record.
|
protected TestRecordHelper |
JSAFSDriver.runComponentFunctionDirect(ComponentFunction command,
java.lang.String separator)
Deprecated.
|
TestRecordHelper |
JSAFSDriver.runDriverCommand(DriverCommand command)
Execute the desired DriverCommand using the default field separator for the record.
|
TestRecordHelper |
JSAFSDriver.runDriverCommand(DriverCommand command,
java.lang.String separator)
Execute the desired DriverCommand using the specified field separator for the record.
This implementation tries following engines in this order: |
protected TestRecordHelper |
JSAFSDriver.runDriverCommandDirect(DriverCommand command,
java.lang.String separator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TestRecordHelper |
JSAFSDriver.initTestRecordData(TestRecordHelper store)
Convienience (re)initializer for a TestRecordHelper.
|
protected long |
InputProcessor.processBlockIDRecord(TestRecordHelper trd)
Process a BlockID (B) input record.
|
protected long |
InputProcessor.processComponentFunction(TestRecordHelper trd)
Process a Step Level test record -- a component function.
|
long |
InputProcessor.processDriverCommand(TestRecordHelper trd)
Process a Driver Command (C,CW,or CF) input record.
|
protected long |
InputProcessor.processEngineCommand(TestRecordHelper trd)
Process an Engine Command (E) input record.
|
protected long |
InputProcessor.processImpliedCallScriptRecord(TestRecordHelper trd)
Process an Implied CallScript (unknown record type) input record .
|
protected long |
InputProcessor.processSkippedRecord(TestRecordHelper trd)
Process a Skipped (S) input record.
|
long |
InputProcessor.processTestRecord(TestRecordHelper trd)
Process a Test (T,TW,or TF) input record.
|
protected long |
JSAFSDriver.routeToEngines(TestRecordHelper trd,
boolean sendAll)
Route the input record to one or more engines, or all engines.
|
protected long |
InputProcessor.routeToEngines(TestRecordHelper trd,
boolean sendAll)
Route the input record to one or more engines, or all engines.
|
protected long |
JSAFSDriver.routeToPreferredEngines(TestRecordHelper trd)
Route the input record to preferred engines only in the order of preference.
|
protected long |
InputProcessor.routeToPreferredEngines(TestRecordHelper trd)
Route the input record to preferred engines only in the order of preference.
|
Modifier and Type | Field and Description |
---|---|
protected TestRecordHelper |
GenericEngine.testRecordData
Stores the data on the input record we are to process.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<java.lang.String> |
TIDComponent.interpretFields(TestRecordHelper testRecordData) |
protected java.util.Collection<java.lang.String> |
AutoItComponent.interpretFields(TestRecordHelper testRecordData) |
void |
TIDComponent.processIndependently(TestRecordHelper testRecordData)
Note: Now this method is called only by a special processor CFTIDComponent
Before calling this method, you must make sure the test record data
is correctly initialized.
|
void |
AutoItComponent.processIndependently(TestRecordHelper testRecordData)
Note: Now this method is called only by a special processor CFAUTOITComponent
Before calling this method, you must make sure the test record data
is correctly initialized.
|
long |
TIDDriverRestCommands.processRecord(TestRecordHelper testRecordData) |
long |
TIDDriverLogCommands.processRecord(TestRecordHelper testRecordData)
Process the record present in the provided testRecordData.
|
long |
TIDDriverFlowCommands.processRecord(TestRecordHelper testRecordData)
Process the record present in the provided testRecordData.
|
long |
TIDDriverCounterCommands.processRecord(TestRecordHelper testRecordData)
Process the record present in the provided testRecordData.
|
long |
TIDDriverCommands.processRecord(TestRecordHelper testRecordData)
Process the record present in the provided testRecordData.
|
long |
TIDComponent.processRecord(TestRecordHelper testRecordData) |
long |
SAFSTC.processRecord(TestRecordHelper testRecordData)
Override superclass to catch unsuccessful initialization scenarios.
|
long |
SAFSSELENIUM.processRecord(TestRecordHelper testRecordData)
Override superclass to catch unsuccessful initialization scenarios.
|
long |
SAFSROBOTJ.processRecord(TestRecordHelper testRecordData)
Override superclass to catch unsuccessful initialization scenarios.
|
long |
SAFSQTP.processRecord(TestRecordHelper testRecordData)
Override superclass to catch unsuccessful initialization scenarios.
|
long |
SAFSIOS.processRecord(TestRecordHelper testRecordData)
Override superclass to catch unsuccessful initialization scenarios.
|
long |
SAFSDROID.processRecord(TestRecordHelper testRecordData)
Override superclass to catch unsuccessful initialization scenarios.
|
long |
SAFSDRIVERCOMMANDS.processRecord(TestRecordHelper testRecordData)
Process the record present in the provided testRecordData.
|
long |
SAFSABBOT.processRecord(TestRecordHelper testRecordData)
Override superclass to catch unsuccessful initialization scenarios.
|
long |
GenericEngine.processRecord(TestRecordHelper testRecordData)
Initiate the event-driven protocol to send the test record to the engine.
|
long |
EngineInterface.processRecord(TestRecordHelper testRecordData)
Execute the processing of a stored test record.
|
long |
AutoItComponent.processRecord(TestRecordHelper testRecordData) |
protected long |
GenericEngine.setTRDStatus(TestRecordHelper trd,
long status)
Sets TRD statuscode to the provided status and returns the same.
|
Copyright © SAS Institute. All Rights Reserved.