|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester Proxy SDK Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rational.test.ft.sys.RegisteredObject com.rational.test.ft.domain.ProxyTestObject
public abstract class ProxyTestObject
The true base class for all Java Proxy classes. This class specification deals with properties that are associated with an object. There are four categories of properties:
Fields inherited from class com.rational.test.ft.sys.RegisteredObject |
---|
theTestObject |
Fields inherited from interface com.rational.test.ft.domain.IDataDriven |
---|
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS |
Constructor Summary | |
---|---|
ProxyTestObject(java.lang.Object theObjectInTheSUT)
Sets the object as a member variable for the proxy. |
Method Summary | |
---|---|
protected void |
addDataDrivableCommands(ProxyTestObject proxy, java.util.Vector commands, int includeChildren)
|
abstract void |
addRecognitionProperty(java.lang.String property, java.lang.Object value, int weight)
Defines an additional recognition property that this proxy can use. |
boolean |
baseClassMatch(java.lang.String baseClassName)
|
boolean |
canTakeVP()
|
boolean |
equals(java.lang.Object obj)
Overrides the object-level equals with an equality against the true test objects. |
ProxyTestObject[] |
findChildrenWithProperties(com.rational.test.ft.object.manager.FindPropertySet fps, boolean mappableOnly)
Finds all candidates that match given search criteria starting at this ProxyTestObject . |
java.lang.Object |
findChildrenWithPropertiesAndInvoke(com.rational.test.ft.object.manager.FindPropertySet fps, java.lang.String methodName, java.lang.String methodSignature, java.lang.Object[] args, boolean mappableOnly, boolean invokeOnProxy)
Finds a candidate that matches given search criteria starting at this ProxyTestObject . |
IChannel |
getChannel()
Returns a channel for the object. |
abstract ProxyTestObject[] |
getChildren()
Returns an array of proxies, visible by using the TestObject interface from a script, for the children of this object. |
ProxyTestObject[] |
getChildren(com.rational.test.ft.sys.ContextObject contextProxy)
Returns an array of proxies, visible by using the TestObject interface from a script, for the children of this object based on the context which was set by the argument proxy test object |
com.rational.test.ft.sys.MethodSpecification |
getDataDrivableCommand()
This method must be implemented by any proxy that wishes to support data driving. |
com.rational.test.ft.sys.MethodSpecification[] |
getDataDrivableCommands(int includeChildren)
Walks the proxy parent-child hierarchy and returns a command for each control that is data drivable. |
abstract java.lang.String |
getDescriptiveName()
Returns a name that can be used to describe the associated UI object in a script. |
java.lang.Object |
getField(java.lang.String fieldName)
Gets a field from the underlying object represented by the ProxyTestObject . |
java.lang.String[] |
getIgnorableProperties()
|
abstract java.lang.Object |
getIndexer(java.lang.String name, java.lang.Object[] indexes)
Returns the value of a TestObject's indexer at the given index. |
abstract com.rational.test.ft.value.IndexerInfo[] |
getIndexers()
Returns information about the TestObject's indexers, if applicable. |
abstract ProxyTestObject[] |
getMappableChildren()
Returns an array of proxies, visible by using the TestObject interface from a script, for the children of this object. |
ProxyTestObject[] |
getMappableChildren(com.rational.test.ft.sys.ContextObject contextProxy)
Returns an array of proxies, visible by using the TestObject interface from a script, for the children of this object. |
abstract ProxyTestObject |
getMappableParent()
Returns a proxy object for the mappable parent of this object; returns null if this object has no mappable parent. |
ProxyTestObject |
getMappableParent(com.rational.test.ft.sys.ContextObject contextProxy)
Returns a proxy object for the mappable parent of this object; returns null if this object has no mappable parent. |
abstract com.rational.test.ft.value.MethodInfo[] |
getMethods()
Returns an array containing method signatures for all methodsaccessiblee against the associated test object. |
abstract com.rational.test.ft.sys.MethodSpecification |
getMethodSpecForPoint(java.awt.Point pt)
Returns a MethodSpecification for a method that returns a java.awt.Point
for the specified coordinates. |
abstract java.util.Hashtable |
getNonValueProperties()
Returns the properties that are not supported because the value is a reference to another object. |
java.lang.String |
getObjectClassName()
Returns the class name of the associated object. |
java.lang.String |
getObjectCustomClassName()
Returns the custom class name of the associated object. |
abstract ProxyTestObject[] |
getOwnedObjects()
Returns an array of proxies for the objects owned by this object. |
ProxyTestObject[] |
getOwnedObjects(java.lang.String domain)
Returns an array of proxies for the objects owned by this object. |
abstract ProxyTestObject |
getOwner()
Returns a proxy object for the owner of this object; returns null if this object has no owner. |
abstract ProxyTestObject |
getParent()
Returns a proxy object for the parent of this object; returns null if this object has no parent. |
ProxyTestObject |
getParent(com.rational.test.ft.sys.ContextObject contextProxy)
Returns a proxy object for the parent of this object; returns null if this object has no parent. |
abstract java.util.Hashtable |
getProperties()
Returns a complete set of properties for the associated test object. |
abstract java.lang.Object |
getProperty(java.lang.String propertyName)
Gets the value for a specific property defined in getProperties() or getRecognitionProperties() . |
ProxyTestObject |
getProxy()
Exports access to the proxy for the object being evaluated. |
abstract java.util.Hashtable |
getRecognitionProperties()
Returns an enumeration of properties used to identify the associated test object. |
abstract int |
getRecognitionPropertyWeight(java.lang.String propertyName)
Returns an indication of how useful this property is for recognition. |
java.lang.String |
getRole()
Returns a brief type name that describes the role this object plays in the UI. |
com.rational.test.ft.sys.MethodSpecification |
getScriptCommandAnchor()
This method returns the method specification for a script commands anchor attribute. |
com.rational.test.ft.script.ScriptCommandFlags |
getScriptCommandFlags()
This method returns an active state value that reflects the state of the test object at the time of the call. |
abstract java.util.Hashtable |
getStandardProperties()
Returns a complete set of consistent properties for the associated test object. |
com.rational.test.ft.vp.ITestData |
getTestData(java.lang.String testDataType)
Constructs the specified verification data object. |
abstract java.util.Hashtable |
getTestDataTypes()
Returns a hashtable of data type descriptions of the verification point data available with the associated object. |
abstract TestDomainImplementation |
getTestDomain()
Returns the TestDomain that this proxy object is associated
with. |
abstract java.lang.String |
getTestObjectClassName()
Returns a valid class name specification. |
abstract ProxyTestObject |
getTopMappableParent()
Returns a proxy object for the top mappable parent of this object; returns a pointer to itself if this object has no mappable parent. |
abstract ProxyTestObject |
getTopParent()
Returns a proxy object for the top parent of this object; returns a pointer to itself if this object has no parent. |
abstract java.lang.String |
getUniqueId()
Returns a string for the associated object. |
protected ProxyTestObject |
getVisualClippableParent()
Return the clippable parent for the control |
java.awt.Rectangle |
getVisualClippedRectangle()
The optimized way to obtain the ClippedRectangle. |
ProxyTestObject[] |
getVisualMappableChildren()
Returns the visual mappable Children for the given ProxyTestObject |
ProxyTestObject |
getVisualTopParent()
Return the top mappable parent that is sensible for the Visual Object Maps In case of HTML document is top visual parent In case of PDF, page is the top visual parent |
java.lang.Object |
getVOMSpecificProperty(java.lang.String propertyName)
Return VOM Specific internal Property if set by the proxies to uniquely identify its top level window |
abstract boolean |
hasAddedRecognitionProperties()
Returns true if recognition properties have been added to this proxy from an external source through addRecognitionProperty() . |
boolean |
hasSpecialFrameState()
|
boolean |
isClassIndexConsidered()
To include or ignore classindex property while scoring the underlying object represented by the ProxyTestObject . |
boolean |
isSameObject(java.lang.Object obj)
Returns true if the supplied test object represents the same underlying object. |
boolean |
isValidObject()
Returns true if the underlying object is still valid. |
void |
ping()
Validates the existence of the object reference. |
abstract void |
processMouseEvent(IMouseActionInfo action)
Updates the supplied action with an appropriate MethodSpecification to play back the action. |
abstract void |
setIndexer(java.lang.String name, java.lang.Object[] indexes, java.lang.Object val)
Sets the value of a TestObject's indexer. |
abstract void |
setProperty(java.lang.String propertyName, java.lang.Object value)
Sets the value for a specific property defined in getProperties() or getRecognitionProperties() . |
abstract boolean |
shouldBeMapped()
Determines whether the object is interesting from a persistent testability sense and should therefore be added to the object map. |
boolean |
suppressKeyAction()
Flags the recorder to ignore key events relative to this top-level proxy. |
com.rational.test.ft.vp.ITestData |
updateTestData(java.lang.String testDataType, com.rational.test.ft.vp.ITestData testData)
Updates the supplied test data object and returns it. |
Methods inherited from class com.rational.test.ft.sys.RegisteredObject |
---|
addProxyReference, dereference, getObject, getRegisteredId, getTransactionId, isReferenced, isReleaseRequired, register, registerTransiently, release, toString, unregister |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final com.rational.test.ft.util.FtDebug debug
public static final java.lang.String BROWSERTESTOBJECT_CLASSNAME
public static final java.lang.String BROWSERTABTESTOBJECT_CLASSNAME
public static final java.lang.String DOCUMENTTESTOBJECT_CLASSNAME
public static final java.lang.String DOMAINTESTOBJECT_CLASSNAME
public static final java.lang.String FILEDIALOGTESTOBJECT_CLASSNAME
public static final java.lang.String FRAMETESTOBJECT_CLASSNAME
public static final java.lang.String GUISUBITEMTESTOBJECT_CLASSNAME
public static final java.lang.String GUITESTOBJECT_CLASSNAME
public static final java.lang.String INTERNALFRAMETESTOBJECT_CLASSNAME
public static final java.lang.String PROCESSTESTOBJECT_CLASSNAME
public static final java.lang.String SCROLLTESTOBJECT_CLASSNAME
public static final java.lang.String SCROLLSUBITEMTESTOBJECT_CLASSNAME
public static final java.lang.String STATELESSGUISUBITEMTESTOBJECT_CLASSNAME
public static final java.lang.String SUBITEMTESTOBJECT_CLASSNAME
public static final java.lang.String TESTOBJECT_CLASSNAME
public static final java.lang.String TEXTGUITESTOBJECT_CLASSNAME
public static final java.lang.String TEXTGUISUBITEMTESTOBJECT_CLASSNAME
public static final java.lang.String TEXTSCROLLTESTOBJECT_CLASSNAME
public static final java.lang.String TEXTSELECTGUISUBITEMTESTOBJECT_CLASSNAME
public static final java.lang.String SELECTGUISUBITEMTESTOBJECT_CLASSNAME
public static final java.lang.String SELECTSCROLLGUISUBITEMTESTOBJECT_CLASSNAME
public static final java.lang.String TOGGLEGUITESTOBJECT_CLASSNAME
public static final java.lang.String TOGGLETESTOBJECT_CLASSNAME
public static final java.lang.String TOPLEVELTESTOBJECT_CLASSNAME
public static final java.lang.String TOPLEVELSUBITEMTESTOBJECT_CLASSNAME
public static final java.lang.String TRACKBARTESTOBJECT_CLASSNAME
public static final java.lang.String CROSSDOMAINCONTAINER_CLASSNAME
public static final java.lang.String EMBEDDEDBROWSERTESTOBJECT_CLASSNAME
public static final java.lang.String FRAMESUBITEMTESTOBJECT_CLASSNAME
public static final java.lang.String ECLIPSETOPLEVELTESTOBJECT_CLASSNAME
public static final java.lang.String SHELLTESTOBJECT_CLASSNAME
public static final java.lang.String PALETTEGUISUBITEMTESTOBJECT_CLASSNAME
public static final java.lang.String GEFEDITPARTTESTOBJECT_CLASSNAME
public static final java.lang.String TABITEMTESTOBJECT_CLASSNAME
public static final java.lang.String MESSAGEBOXTESTOBJECT_CLASSNAME
public static final java.lang.String COLORDIALOGTESTOBJECT_CLASSNAME
protected java.awt.Rectangle vomClippedRectangle
Constructor Detail |
---|
public ProxyTestObject(java.lang.Object theObjectInTheSUT)
theObjectInTheSUT
is not null, it should support java.lang.Object.equals()
and java.lang.Object.hashCode
so that the test domain can find the proxy for the object based on theObjectInTheSUT
.
Any proxy that is registered with this system has its release() method invoked before it is finalized. A proxy that is returned to a test script is automatically registered, and this delays its release. Such a proxy is not released until the test script calls one of the TestObject.unregister methods. The proxy can depend on the call to release() and can override this to free any non-Java resources that the proxy may be using.
Method Detail |
---|
public ProxyTestObject getProxy()
find
.
public boolean equals(java.lang.Object obj)
equals
with an equality against the true test objects.
equals
in class java.lang.Object
obj
- The object to compare against. If obj
is a ProxyTestObject
, the comparison is made with the underlying object.
true
if the underlying test objects are equal
.public boolean isSameObject(java.lang.Object obj)
true
if the supplied test object represents the same underlying object. This method is different from equals
in that it represents an "==" of the object in the AUT rather than an "equals" of these objects.
obj
- The object to compare against. If obj
is a ProxyTestObject
, the comparison is made with the underlying object.
true
if the underlying test objects are ==
.public boolean isValidObject()
true
if the underlying object is still valid.
This method is called by the framework when the proxy is being invoked through reflection. In some domains, the proxies access to the underlying object may not be guaranteed, but there may be some checks that could be used to safeguard the proxy. For example, in Microsoft Windows, a proxy that wrapped an HWND-based object might want to validate that the HWND was still correct. It might do this by checking the window classname, the thread to which the window belongs, and the validity of the window handle itself. The default implementation just returns true.
If this returns false, subsequent calls to the object may be blocked.
isValidObject
in interface IProxyBase
true
if the underlying object is valid.public boolean baseClassMatch(java.lang.String baseClassName)
public abstract java.lang.String getTestObjectClassName()
TestObject
class. The testObject
performs a cross-process (and cross-JVM) call to the same method against an associated proxy, which is this proxy.
This method should never return null
, even if shouldBeMapped()
returns false
. User may still access objects such as this through scripting method calls and can return references to them.
If a null were returned, the marshalling code would be confused and would not be able to construct a test object.
This method may be called from any thread.
getTestObjectClassName
in interface IProxyBase
testObject
class full name.public abstract TestDomainImplementation getTestDomain()
TestDomain
that this proxy object is associated
with.
getTestDomain
in interface IProxyBase
TestDomain
class full name.public abstract java.lang.String getDescriptiveName()
java.awt.Button
with the associated text "OK".
public java.lang.String getRole()
java.awt.Button
might return button.
There are suggested role constants in the TestObjectRole
class. However, proxies are not limited to these constants.
The role is used for several purposes by the test infrastructure. First, the role can be used in the construction of object names in scripts, augmenting the name returned by getDescriptiveName()
.
The role is also used in the UI to decorate nodes in the map with icons that help users quickly associate the nodes with the roles they play in the system under test.
public java.lang.String getObjectClassName()
public java.lang.String getObjectCustomClassName()
public abstract java.lang.String getUniqueId()
public abstract boolean shouldBeMapped()
false
.
true
if the represented control is interesting other than for nested objects.public abstract ProxyTestObject getParent()
null
if this object has no parent.
null
for a top-level object.public ProxyTestObject getParent(com.rational.test.ft.sys.ContextObject contextProxy)
null
if this object has no parent.
contextProxy
- The contextProxy Test object is to set the context while finding the children null
for a top-level object.public abstract ProxyTestObject getMappableParent()
null
if this object has no mappable parent.
Note that only a proxy that shouldBeMapped
should be returned from this method.
null
for a top-level mapped object.public ProxyTestObject getMappableParent(com.rational.test.ft.sys.ContextObject contextProxy)
null
if this object has no mappable parent.
Note that only a proxy that shouldBeMapped
should be returned from this method.
contextProxy
- The contextProxy Test object is to set the context while finding the children null
for a top-level mapped object.public abstract ProxyTestObject getTopParent()
public abstract ProxyTestObject getTopMappableParent()
public ProxyTestObject[] getChildren(com.rational.test.ft.sys.ContextObject contextProxy)
contextProxy
- The contextProxy Test object is to set the context while finding the children public abstract ProxyTestObject[] getChildren()
public abstract ProxyTestObject[] getMappableChildren()
public ProxyTestObject[] getMappableChildren(com.rational.test.ft.sys.ContextObject contextProxy)
public abstract ProxyTestObject getOwner()
null
if this object has no owner.
null
for a top object without an owner.public abstract ProxyTestObject[] getOwnedObjects()
public ProxyTestObject[] getOwnedObjects(java.lang.String domain)
public boolean suppressKeyAction()
true
for a top-level proxy that wants to suppress the generation of inputKeys
method calls.public com.rational.test.ft.sys.MethodSpecification getScriptCommandAnchor()
public com.rational.test.ft.script.ScriptCommandFlags getScriptCommandFlags()
public abstract void processMouseEvent(IMouseActionInfo action)
action
with an appropriate MethodSpecification
to play back the action. This
method is the primary record interface for mouse events against a particular
control. Only one MethodSpecification
is maintained in the action state. If the active specification is valid, it is not updated.
action
- The event cache and other mouse state information
for this mouse action.IMouseActionInfo
,
MethodSpecification
public abstract com.rational.test.ft.sys.MethodSpecification getMethodSpecForPoint(java.awt.Point pt)
MethodSpecification
for a method that returns a java.awt.Point
for the specified coordinates. By default, a method specification for IGraphical.getScreenPoint
is returned.
action
- The event cache and other mouse state information
for this mouse action.MethodSpecification
public abstract java.util.Hashtable getRecognitionProperties()
hasFocus
or isShowing
.
TestObjectProperty
.getRecognitionPropertyWeight(String)
,
getProperty(String)
,
addRecognitionProperty(String,Object,int)
public abstract int getRecognitionPropertyWeight(java.lang.String propertyName)
propertyName
- The name of the recognition property to
return a weight value for.getRecognitionProperties()
public abstract void addRecognitionProperty(java.lang.String property, java.lang.Object value, int weight)
getRecognitionProperties()
.
property
- The recognition property name. Care should be taken to avoid conflicts with existing property names.value
- The value of the added recognition property.weight
- The weight associated with this recognition property.
This value is returned when getRecognitionPropertyWeight()
is called.getRecognitionProperties()
,
getRecognitionPropertyWeight(String)
,
getProperty(String)
public abstract boolean hasAddedRecognitionProperties()
true
if recognition properties have been added to this proxy from an external source through addRecognitionProperty()
.
true
if recognition properties have been added to this proxy from an external source through addRecognitionProperty(String,Object,int)
.addRecognitionProperty(String,Object,int)
public abstract java.util.Hashtable getProperties()
This method does not return properties whose values are references to objects. The method getNonValueProperties()
returns information about such properties.
getProperty(String)
,
setProperty(String,Object)
,
getStandardProperties()
,
getNonValueProperties()
public java.lang.String[] getIgnorableProperties()
public abstract java.util.Hashtable getStandardProperties()
getProperties()
.
The HTML domain supports standard properties and returns properties that are consistent across browser versions.
The Java domain does not support this notion of standard properties.
In this domain, getStandardProperties,
and getProperties
do the same thing.
For HTML, standard properties are a subset of the properties returned by getProperties()
.
The meaning of a property is specific to the test domain and the test object. Typically, this is a set of name/value pairs that describe the test object and its active state. Properties such as font, colors, and coordinate information are typically associated with a GUI test object. Associated data and state information can also
be returned, depending on the test object.
getProperty(String)
,
setProperty(String,Object)
,
getProperties()
,
getNonValueProperties()
public abstract java.lang.Object getProperty(java.lang.String propertyName)
getProperties()
or getRecognitionProperties()
. If the property is not defined by either of these methods, this method throws PropertyNotFoundException
.
propertyName
- The name of the property to fetch.
getProperties()
,
setProperty(String,Object)
,
getRecognitionProperties()
,
addRecognitionProperty(String,Object,int)
public abstract void setProperty(java.lang.String propertyName, java.lang.Object value)
getProperties()
or getRecognitionProperties()
. Properties not defined by either of these methods, and properties whose values cannot be modified throw an
appropriately populated PropertyNotFoundException
.
propertyName
- The name of the property to redefine. This name is the same as that returned by
getProperties()
.getProperties()
,
getProperty(String)
public abstract java.util.Hashtable getNonValueProperties()
getProperty()
.
If such a property is returned to the test script, it is manifested as a TestObject containing a reference to the object in the SUT. The test script should call the TestObject method unregister() to release the object.
When an object is unregistered, the release() method that all ProxyTestObjects inherit from RegisteredObject is called.
getProperties()
,
getStandardProperties()
,
getProperty(String)
,
setProperty(String,Object)
public abstract java.lang.Object getIndexer(java.lang.String name, java.lang.Object[] indexes)
TestObject's
indexer at the given index. If the
value has a value class then the value class is returned, otherwise a TestObject is
registered and returned. Information about a TestObject's
indexer properties can be obtained via getIndexers()
.
name
- the name of the indexerindexes
- the indexes to get the value ofpublic abstract com.rational.test.ft.value.IndexerInfo[] getIndexers()
TestObject's
indexers, if applicable.
IndexerInfo
public abstract void setIndexer(java.lang.String name, java.lang.Object[] indexes, java.lang.Object val)
TestObject's
indexer.
name
- the name of the indexerindexes
- the indexes to set the value ofvalue
- the value to set the index topublic abstract com.rational.test.ft.value.MethodInfo[] getMethods()
getProperties()
,
getStandardProperties()
,
getNonValueProperties()
public abstract java.util.Hashtable getTestDataTypes()
String
objects that are used as the VP type
in the associated test data. The type
is a
simple value that is different from other type values associated with this object under test. The type
keys map to a verbose description of the test data, reasonable for presentation to a
user.
type
/description
pairs used to describe the verification data available from this proxy.getTestData(String)
,
ITestData
public com.rational.test.ft.vp.ITestData getTestData(java.lang.String testDataType)
testDataType
parameter is a hashtable key returned by getTestDataTypes()
.
testDataType
- A test data type supplied by
getTestDataTypes()
.
getTestDataTypes()
,
ITestData
public com.rational.test.ft.vp.ITestData updateTestData(java.lang.String testDataType, com.rational.test.ft.vp.ITestData testData)
testDataType
parameter is a hashtable key returned by getTestDataTypes()
.
The testData
is a previously supplied ITestData
object that needs to be updated to reflect the current state of the associated test object.
testDataType
- A test data type supplied by
getTestDataTypes()
.testData
- The test database object that requires
updating.
testData
passed in with appropriate updates.getTestDataTypes()
,
ITestData
public com.rational.test.ft.sys.MethodSpecification[] getDataDrivableCommands(int includeChildren)
null
.
The reason that the proxies are left with doing the walk instead of it happening at a higher level is because they have a better understanding of the hierarchy they expose. Domains like HTML can take advantage of internal knowledge to allow them better control the traversal of interesting child proxies relative to data driving. By default this method will perform a standard traversal of the proxy hierarchy and does not need to be overridden unless necessary.
getDataDrivableCommands
in interface IDataDriven
includeChildren
- Flag to control which child objects are considered for data driving. Must be IDataDriven.INCLUDE_JUSTOBJECT
, IDataDriven.INCLUDE_SIBLINGS
or IDataDriven.INCLUDE_ALL
.
getDataDrivableCommand()
protected void addDataDrivableCommands(ProxyTestObject proxy, java.util.Vector commands, int includeChildren)
public com.rational.test.ft.sys.MethodSpecification getDataDrivableCommand()
null
value is returned.
getDataDrivableCommand
in interface IDataDriven
getDataDrivableCommands(int)
public void ping()
public IChannel getChannel()
getChannel
in interface IChannelObject
getChannel
in class com.rational.test.ft.sys.RegisteredObject
public boolean hasSpecialFrameState()
public ProxyTestObject[] findChildrenWithProperties(com.rational.test.ft.object.manager.FindPropertySet fps, boolean mappableOnly)
ProxyTestObject
.
propSet
- The property set to match against.mappableOnly
- Whether to search all children or just mappable childrenTestObject.find(Subitem)
public java.lang.Object findChildrenWithPropertiesAndInvoke(com.rational.test.ft.object.manager.FindPropertySet fps, java.lang.String methodName, java.lang.String methodSignature, java.lang.Object[] args, boolean mappableOnly, boolean invokeOnProxy)
ProxyTestObject
.
The supplied method is then invoked on the found object, or its proxy.
propSet
- The property set to match against.methodName
- The name of the method to invoke.methodSignature
- The JNI signature of the method to invoke.args
- The arguments to be provided to the invoked method.mappableOnly
- Whether to search all children or just mappable childreninvokeOnProxy
- Whether to invoke the method on the proxy or object in the SUT.public java.lang.Object getField(java.lang.String fieldName)
ProxyTestObject
.
fieldName
- The name of the field to retrieve.public boolean isClassIndexConsidered()
ProxyTestObject
.
public ProxyTestObject getVisualTopParent()
public boolean canTakeVP()
protected ProxyTestObject getVisualClippableParent()
public java.awt.Rectangle getVisualClippedRectangle()
public ProxyTestObject[] getVisualMappableChildren()
public java.lang.Object getVOMSpecificProperty(java.lang.String propertyName)
propertyName
- The VOM
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |