public class RTestRecordData extends TestRecordHelper
While the DriverCommands processor object may handle all the different driver commands directly, the ComponentFunctions processor will need to evaluate the "type" of component represented by any retrieved application SpyMappedTestObject then forward this object on to the RobotJ script/object that handles that component type.
requester
POSSIBLE_SEPARATOR
Constructor and Description |
---|
RTestRecordData()
Purpose: no-arg constructor to make this fully qualified javabean |
RTestRecordData(STAFHelper helper,
Script script) |
RTestRecordData(STAFHelper helper,
Script script,
DDGUIUtilities ddgutils) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCompInstancePath()
A method to return a default class package prefix used by some processors.
|
com.rational.test.ft.object.interfaces.TestObject |
getCompTestObject()
Purpose: accessor method(s) We might have to UNREGISTER these TestObjects! |
Script |
getScript() |
com.rational.test.ft.object.interfaces.TestObject |
getWindowTestObject()
Purpose: accessor method(s) We might have to UNREGISTER these TestObjects! |
void |
reinit()
Purpose: reinit this object to be reused over again. |
void |
setCompTestObject(com.rational.test.ft.object.interfaces.TestObject compTestObject) |
void |
setScript(Script script) |
void |
setWindowTestObject(com.rational.test.ft.object.interfaces.TestObject windowTestObject) |
getCompGuiId, getConfig, getDDGUtils, getStaf, getSTAFHelper, getWindowGuiId, isMixedRsUsed, populateDataFromVar, sendbackResponse, setConfig, setDDGUtils, setSTAFHelper, targetIsComponent, targetIsWindow
copyData, getAltCompType, getAppMapName, getCommand, getCompClass, getCompModule, getCompName, getCompType, getEnvironment, getFac, getFileID, getFilename, getInputRecord, getInputRecordToken, getInstanceName, getLineNumber, getNotSeparatorString, getRecordType, getSeparator, getStatusCode, getStatusInfo, getTestLevel, getTrimmedUnquotedInputRecordToken, getWinCompName, getWindowName, inputRecordSize, setAltCompType, setAppMapName, setCommand, setCompClass, setCompGuiId, setCompModule, setCompName, setCompType, setEnvironment, setFac, setFileID, setFilename, setInputRecord, setInstanceName, setLineNumber, setRecordType, setSeparator, setShutdownData, setStatusCode, setStatusInfo, setTestLevel, setWindowGuiId, setWindowName, toString
public RTestRecordData()
public RTestRecordData(STAFHelper helper, Script script)
public RTestRecordData(STAFHelper helper, Script script, DDGUIUtilities ddgutils)
public Script getScript()
public void setScript(Script script)
public com.rational.test.ft.object.interfaces.TestObject getWindowTestObject()
public void setWindowTestObject(com.rational.test.ft.object.interfaces.TestObject windowTestObject)
public com.rational.test.ft.object.interfaces.TestObject getCompTestObject()
public void setCompTestObject(com.rational.test.ft.object.interfaces.TestObject compTestObject)
public void reinit()
reinit
in class TestRecordData
public java.lang.String getCompInstancePath()
TestRecordHelper
For example, RTestRecordData used by Rational RobotJ returns "org.safs.rational." This enables default processors to location the following processors:
org.safs.rational.DCDriverCommand
org.safs.rational.custom.DCDriverCommand
org.safs.rational.CF[componentType] classes
org.safs.rational.CFComponent
org.safs.rational.custom.CF[componentType]
This requires that the subclassing implementations stick to this strict class naming convention.
The org.safs.Processor class now allows users to specify any package and or classname for use in dynamically locating classes at runtime. This means that subclasses like DriverCommandProcessor and TestStepProcessor can be given alternative package or class names to search for.
This method is no longer required, though it will be queried first to maintain compatibility with processors using this feature.
getCompInstancePath
in class TestRecordHelper
Copyright © SAS Institute. All Rights Reserved.