|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.safs.TestRecordData
org.safs.TestRecordHelper
org.safs.rational.RTestRecordData
public class RTestRecordData
Purpose:RTestRecordData: extends TestRecordData,
which holds key data used by a driver, like step driver.
Based on the SAFS Test Record Data doc.
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.
| Field Summary |
|---|
| Fields inherited from class org.safs.TestRecordHelper |
|---|
requester |
| Fields inherited from class org.safs.TestRecordData |
|---|
possibleSeparator |
| Constructor Summary | |
|---|---|
RTestRecordData()
Purpose: no-arg constructor to make this fully qualified javabean |
|
RTestRecordData(STAFHelper helper,
Script script)
|
|
RTestRecordData(STAFHelper helper,
Script script,
DDGUIUtilities ddgutils)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCompInstancePath()
A method to return a default class package prefix used by some processors. |
TestObject |
getCompTestObject()
Purpose: accessor method(s) We might have to UNREGISTER these TestObjects! |
static ConfigureInterface |
getConfig()
accessor method |
Script |
getScript()
|
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(TestObject compTestObject)
|
static void |
setConfig(ConfigureInterface c)
accessor method |
void |
setScript(Script script)
|
void |
setWindowTestObject(TestObject windowTestObject)
|
| Methods inherited from class org.safs.TestRecordHelper |
|---|
getDDGUtils, getStaf, getSTAFHelper, populateDataFromVar, sendbackResponse, setDDGUtils, setSTAFHelper |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RTestRecordData()
public RTestRecordData(STAFHelper helper,
Script script)
public RTestRecordData(STAFHelper helper,
Script script,
DDGUIUtilities ddgutils)
| Method Detail |
|---|
public static void setConfig(ConfigureInterface c)
public static ConfigureInterface getConfig()
public Script getScript()
public void setScript(Script script)
public TestObject getWindowTestObject()
public void setWindowTestObject(TestObject windowTestObject)
public TestObject getCompTestObject()
public void setCompTestObject(TestObject compTestObject)
public void reinit()
reinit in class TestRecordDatapublic java.lang.String getCompInstancePath()
TestRecordHelperFor 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||