Modifier and Type | Class and Description |
---|---|
class |
SingletonSTAFHelper
Purpose: a wrapper class for the STAFHandle, includes some common functionality used many places associated with the SAFSVARS and SAFSMAPS; This is the Singleton version. |
Modifier and Type | Field and Description |
---|---|
protected static STAFHelper |
RobotJHook.helper |
protected STAFHelper |
JavaHook.helper
The STAFHelper used to interact with STAF.
|
protected STAFHelper |
STAFRequester.staf
STAF request processor used by all subclasses.
|
Modifier and Type | Method and Description |
---|---|
static STAFHelper |
SingletonSTAFHelper.getHelper()
Purpose: static reference to only Singleton instance of this class Assumptions: it's up to the user to 'initialize()' the helper. |
STAFHelper |
RobotJHook.getHelper() |
STAFHelper |
JavaHook.getHelper() |
static STAFHelper |
SingletonSTAFHelper.getInitializedHelper(java.lang.String processName)
Purpose: static reference to only Singleton instance of this class. |
protected STAFHelper |
TestRecordHelper.getStaf() |
STAFHelper |
TestRecordHelper.getSTAFHelper() |
STAFHelper |
STAFRequester.getSTAFHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
Log.setHelper(STAFHelper aHelper) |
static void |
SingletonSTAFHelper.setInitializedHelper(STAFHelper _helper)
Set the internal STAFHelper with an initialized STAFHelper only if the internal one
is not already initialized.
|
void |
TestRecordHelper.setSTAFHelper(STAFHelper helper) |
void |
STAFRequester.setSTAFHelper(STAFHelper helper)
Sets the STAFHelper instance to be used by the subclass.
|
Modifier and Type | Field and Description |
---|---|
protected STAFHelper |
DDriverCommand.staf |
protected STAFHelper |
CFComponentFunctions.staf |
Modifier and Type | Field and Description |
---|---|
protected STAFHelper |
Control.helper |
Modifier and Type | Method and Description |
---|---|
(package private) static java.awt.Rectangle |
ImageUtils.findImageTextInRectangle(java.lang.String imagetext,
int imageindex,
STAFHelper staf,
java.lang.String[] modifiers,
java.awt.Rectangle rect)
Called by findComponentRectangle.
|
Constructor and Description |
---|
ApacheLogUtilities(STAFHelper helper)
super(helper)
|
ApacheLogUtilities(STAFHelper helper,
boolean copyLogClass)
super(helper, copyLogClass)
|
LogUtilities(STAFHelper helper)
Constructor with pre-registered STAF handle
|
LogUtilities(STAFHelper helper,
boolean copyLogClass)
Constructor with pre-registered STAF handle and flag for using the static Log class.
|
Modifier and Type | Field and Description |
---|---|
(package private) static STAFHelper |
TestLoggerAdapter.staf |
Modifier and Type | Method and Description |
---|---|
STAFHelper |
Script.getSTAFHelper()
Used internally and made available to scripts invoked by the CallScript
Driver Commands
|
Constructor and Description |
---|
RDDGUIUtilities(STAFHelper helper,
Script script,
LogUtilities log)
Constructor providing the STAFHelper and Script needed by the instance for
proper operation.
|
RDDGUIUtilities(STAFHelper helper,
Script script,
RTestRecordData data,
LogUtilities log)
Constructor providing the STAFHelper, Script, and RTestRecordData needed by the
instance for proper operation.
|
RTestRecordData(STAFHelper helper,
Script script) |
RTestRecordData(STAFHelper helper,
Script script,
DDGUIUtilities ddgutils) |
Constructor and Description |
---|
RLogUtilities(STAFHelper helper,
Script script)
RLogUtilities currently accepts a Script object as its parameter
which requires the running script or hook script to extend the
org.safs.rational.Script class in order to be able to log using
RLogUtilities
|
Modifier and Type | Field and Description |
---|---|
protected STAFHelper |
AgentImpl.stafHelper |
Constructor and Description |
---|
SeleniumGUIUtilities(STAFHelper helper,
LogUtilities log)
Constructor providing the STAFHelper and LogUtilities needed for
proper operation.
|
SeleniumGUIUtilities(STAFHelper helper,
TestRecordData data,
LogUtilities log)
Constructor providing the STAFHelper, LogUtilities, and TestRecordData for proper operation.
|
Constructor and Description |
---|
WebDriverGUIUtilities(STAFHelper helper,
LogUtilities log)
Constructor providing the STAFHelper and LogUtilities needed for
proper operation.
|
WebDriverGUIUtilities(STAFHelper helper,
TestRecordData data,
LogUtilities log)
Constructor providing the STAFHelper, LogUtilities, and TestRecordData for proper operation.
|
Modifier and Type | Field and Description |
---|---|
protected STAFHelper |
AbstractSTAFHelperCompatible.staf |
Modifier and Type | Method and Description |
---|---|
static STAFHelper |
STAFProcessHelpers.launchSTAFProc(java.lang.String processName)
Attempt to launch STAF.
|
static STAFHelper |
STAFProcessHelpers.launchSTAFProcClass(java.lang.String processName,
java.lang.Class clazz)
Attempt to launch STAF.
|
static STAFHelper |
STAFProcessHelpers.registerHelper(java.lang.String process_name)
Create/Register/Retrieve a STAFHelper with the given process name.
|
static STAFHelper |
STAFProcessHelpers.registerHelperClass(java.lang.String process_name,
java.lang.Class clazz)
create/Register/Retrieve a STAFHelper with the given process name.
|
Modifier and Type | Method and Description |
---|---|
void |
STAFHelperCompatibleInterface.setSTAFHelper(STAFHelper staf)
This MUST be called to set the STAFHelper before calling other methods.
|
void |
AbstractSTAFHelperCompatible.setSTAFHelper(STAFHelper staf) |
Constructor and Description |
---|
SendMessageThread(STAFHelper helper,
java.lang.String handleName,
int i) |
Modifier and Type | Field and Description |
---|---|
(package private) STAFHelper |
SAFSMonitorFrame.staf |
Modifier and Type | Class and Description |
---|---|
class |
EmbeddedHookSTAFHelper |
Modifier and Type | Field and Description |
---|---|
protected STAFHelper |
DriverConfiguredSTAFInterfaceClass.staf
The STAFHelper retrieved from STAFProcessHelpers
during the call to launchInterface.
|
Modifier and Type | Method and Description |
---|---|
static OCREngine |
OCREngine.getOCREngine(java.lang.String ocrNameKey,
STAFHelper staf)
Note:
This method first try to get OCR engine corresponding to ocrNameKey; If not found, try to get the OCR engine defined by STAF variable STAF_OCR_ENGINE_VAR_NAME; If there is no OCR engine defined in STAF variable, then use the default engine defined by OCR_DEFAULT_ENGINE_KEY. |
static java.lang.String |
OCREngine.getOCREngineKey(STAFHelper staf)
Note:
This method will get the value of STAF variable STAF_OCR_ENGINE_VAR_NAME |
static java.lang.String |
OCREngine.getOCRLanguageCode(STAFHelper staf)
Note:
This method will get the value of STAF variable STAF_OCR_LANGUAGE_ID_VAR_NAME |
static boolean |
OCREngine.setOCREngineKey(STAFHelper staf,
java.lang.String engineKey)
Note:
This method will set the value to STAF variable STAF_OCR_ENGINE_VAR_NAME |
static boolean |
OCREngine.setOCRLanguageCode(STAFHelper staf,
java.lang.String languageCode)
Note:
This method will set the value to STAF variable STAF_OCR_LANGUAGE_ID_VAR_NAME |
Copyright © SAS Institute. All Rights Reserved.