public class FlexMenuBarProxy extends FlexObjectProxy
addedRecProps, addedRecPropsWeight, ARG_SEPARATOR, COLUMN_SEPARATOR, debug, domain, m_automationID, m_className, MAX_NAME, preDownState, PROPERTY_AUTOMATIONCLASSNAME, PROPERTY_AUTOMATIONINDEX, PROPERTY_AUTOMATIONNAME, PROPERTY_CLASSNAME, PROPERTY_CURRENTSTATE, PROPERTY_ENABLED, PROPERTY_FOCUSENABLED, PROPERTY_ID, PROPERTY_MOUSEENABLED, PROPERTY_TABENABLED, PROPERTY_TABINDEX, PROPERTY_TOOLTIP, PROPERTY_VISIBLE, ScrollDetailsValue, ScrollDirectionValue, transactionIdBROWSERTABTESTOBJECT_CLASSNAME, BROWSERTESTOBJECT_CLASSNAME, COLORDIALOGTESTOBJECT_CLASSNAME, CROSSDOMAINCONTAINER_CLASSNAME, DOCUMENTTESTOBJECT_CLASSNAME, DOMAINTESTOBJECT_CLASSNAME, ECLIPSETOPLEVELTESTOBJECT_CLASSNAME, EMBEDDEDBROWSERTESTOBJECT_CLASSNAME, FILEDIALOGTESTOBJECT_CLASSNAME, FRAMESUBITEMTESTOBJECT_CLASSNAME, FRAMETESTOBJECT_CLASSNAME, GEFEDITPARTTESTOBJECT_CLASSNAME, GUISUBITEMTESTOBJECT_CLASSNAME, GUITESTOBJECT_CLASSNAME, INTERNALFRAMETESTOBJECT_CLASSNAME, MESSAGEBOXTESTOBJECT_CLASSNAME, PALETTEGUISUBITEMTESTOBJECT_CLASSNAME, PROCESSTESTOBJECT_CLASSNAME, SCROLLSUBITEMTESTOBJECT_CLASSNAME, SCROLLTESTOBJECT_CLASSNAME, SELECTGUISUBITEMTESTOBJECT_CLASSNAME, SELECTSCROLLGUISUBITEMTESTOBJECT_CLASSNAME, SHELLTESTOBJECT_CLASSNAME, STATELESSGUISUBITEMTESTOBJECT_CLASSNAME, SUBITEMTESTOBJECT_CLASSNAME, TABITEMTESTOBJECT_CLASSNAME, TESTOBJECT_CLASSNAME, TEXTGUISUBITEMTESTOBJECT_CLASSNAME, TEXTGUITESTOBJECT_CLASSNAME, TEXTSCROLLTESTOBJECT_CLASSNAME, TEXTSELECTGUISUBITEMTESTOBJECT_CLASSNAME, TIMEOUTTESTOBJECT_CLASSNAME, TOGGLEGUITESTOBJECT_CLASSNAME, TOGGLETESTOBJECT_CLASSNAME, TOPLEVELSUBITEMTESTOBJECT_CLASSNAME, TOPLEVELTESTOBJECT_CLASSNAME, TRACKBARTESTOBJECT_CLASSNAME, vomClippedRectangle| Constructor and Description |
|---|
FlexMenuBarProxy(FlexTestDomainImplementation theDomain,
com.rational.test.ft.domain.IChannel channel,
java.lang.String theAutomationID) |
FlexMenuBarProxy(FlexTestDomainImplementation theDomain,
java.lang.String theAutomationID) |
| Modifier and Type | Method and Description |
|---|---|
void |
click(com.rational.test.ft.script.Subitem path) |
java.lang.Object |
getChildAtPoint(java.awt.Point pt)
Finds the child object that is at the specified point.
|
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.domain.ProxyTestObject[] |
getMappableChildren()
Returns an array of proxies, visible by using the TestObject interface
from a script, for the children of this object.
|
java.lang.String[] |
getMenus() |
com.rational.test.ft.sys.MethodSpecification |
GetMethodSpec(java.lang.String eventName,
java.lang.String eventArgs) |
java.util.Hashtable |
getProperties()
Returns a complete set of properties for the associated
test object.
|
java.lang.String |
getRole()
Returns a brief type name that describes the role this object plays in the
UI.
|
int |
getSelectedIndex() |
com.rational.test.ft.vp.ITestData |
getTestData(java.lang.String type) |
java.util.Hashtable |
getTestDataTypes()
Returns a hashtable of data type descriptions of the verification
point data available with the associated object.
|
java.lang.String |
getTestObjectClassName()
Returns a valid class name specification.
|
addAdditionalRecognitionProperties, addRecognitionProperty, changeFocus, changeFocus, changeFocus, changeFocus, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getAddedRecognitionProperty, getAddedRecognitionPropertyValue, getAddedRecognitionPropertyWeight, getAutomationChildAt, getChildren, getClientRectangle, getClippedScreenRectangle, getDescriptiveName, getIndexer, getIndexers, getLabel, getMappableParent, getMethods, getMethodSpecForPoint, getNonValueProperties, getObjectClassName, getOwnedObjects, getOwner, getParent, getPlayerId, getPropertiesList, getProperty, getRecognitionProperties, getRecognitionPropertyWeight, getScreenPoint, getScreenPoint, getScreenRectangle, getScriptCommandFlags, getStandardProperties, getTestDomain, getTopMappableParent, getTopParent, getTransactionId, getUniqueId, getValue, getVisualTopParent, hasAddedRecognitionProperties, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, performAction, performAction, performAction, performAction, performAction, performAction, processMouseEvent, setIndexer, setProperty, setTransactionId, shouldBeMapped, suppressKeyActionaddDataDrivableCommands, baseClassMatch, canTakeVP, equals, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getChannel, getChildren, getDataDrivableCommands, getElementWithFocus, getField, getIgnorableProperties, getMappableChildren, getMappableParent, getObjectCustomClassName, getOwnedObjects, getParent, getProxy, getScriptCommandAnchor, getVisualClippableParent, getVisualClippedRectangle, getVisualMappableChildren, getVOMSpecificProperty, hasSpecialFrameState, isClassIndexConsidered, isSameObject, isValidObject, ping, updateTestDatapublic FlexMenuBarProxy(FlexTestDomainImplementation theDomain, com.rational.test.ft.domain.IChannel channel, java.lang.String theAutomationID)
public FlexMenuBarProxy(FlexTestDomainImplementation theDomain, java.lang.String theAutomationID)
public java.lang.String getRole()
FlexObjectProxyjava.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.
getRole in class FlexObjectProxypublic java.lang.String getTestObjectClassName()
FlexObjectProxyTestObject 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 com.rational.test.ft.domain.IProxyBasegetTestObjectClassName in class FlexObjectProxytestObject class full name.public java.util.Hashtable getTestDataTypes()
FlexObjectProxyString 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.getTestDataTypes in class FlexObjectProxytype/description pairs
used to describe the verification data available from this
proxy.ProxyTestObject.getTestData(String),
ITestDatapublic java.lang.String[] getMenus()
public com.rational.test.ft.vp.ITestData getTestData(java.lang.String type)
getTestData in class com.rational.test.ft.domain.ProxyTestObjectpublic com.rational.test.ft.sys.MethodSpecification getDataDrivableCommand()
null value is returned.getDataDrivableCommand in interface com.rational.test.ft.domain.IDataDrivengetDataDrivableCommand in class FlexObjectProxyProxyTestObject.getDataDrivableCommands(int)public java.lang.Object getChildAtPoint(java.awt.Point pt)
FlexObjectProxygetChildAtPoint in interface com.rational.test.ft.object.interfaces.IGraphicalgetChildAtPoint in class FlexObjectProxypt - Screen-relative point to checknull if no child object is
foundFlexObjectProxy.getScreenRectangle()public java.util.Hashtable getProperties()
FlexObjectProxy
This method does not return properties whose values are references
to objects. The method FlexObjectProxy.getNonValueProperties() returns
information about such properties.
getProperties in class FlexObjectProxyFlexObjectProxy.getProperty(String),
FlexObjectProxy.setProperty(String,Object),
FlexObjectProxy.getStandardProperties(),
FlexObjectProxy.getNonValueProperties()public int getSelectedIndex()
public com.rational.test.ft.sys.MethodSpecification GetMethodSpec(java.lang.String eventName,
java.lang.String eventArgs)
GetMethodSpec in class FlexObjectProxypublic void click(com.rational.test.ft.script.Subitem path)
public com.rational.test.ft.domain.ProxyTestObject[] getMappableChildren()
getMappableChildren in class FlexObjectProxy