|
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.Objectcom.rational.test.ft.sys.RegisteredObject
com.rational.test.ft.domain.ProxyTestObject
com.rational.test.ft.domain.java.JavaProxy
com.rational.test.ft.domain.java.JavaGuiProxy
com.rational.test.ft.domain.java.swt.TopLevelWindowProxy
com.rational.test.ft.domain.java.swt.DialogProxy
com.rational.test.ft.domain.java.swt.DirectoryDialogProxy
public class DirectoryDialogProxy
Field Summary |
---|
Fields inherited from class com.rational.test.ft.domain.java.swt.DialogProxy |
---|
ACCEPT_METHOD, CANCEL_METHOD, CLOSE_METHOD, debug, isClickOnClose |
Fields inherited from class com.rational.test.ft.domain.java.JavaGuiProxy |
---|
LEFT, preDownState, processMouseEventHandler, ROLEINDEX, ROLEINDEXWEIGHT, TESTDATA_SPECIALFRAMESTATE, TESTDATA_SPECIALFRAMESTATE_DESCRIPTION, topLevelWindow |
Fields inherited from class com.rational.test.ft.domain.java.JavaProxy |
---|
uniqueId |
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 | |
---|---|
DirectoryDialogProxy(java.lang.Object theObjectInTheSUT)
|
Method Summary | |
---|---|
void |
clickAccept()
|
void |
clickCancel()
Clicks on the cancel button on the file dialog. |
com.rational.test.ft.sys.graphical.DirectoryDialog |
getFileDialogWindow()
|
java.util.Enumeration |
getImmediateChildren()
Return an enumeration of proxies for the immediate children of this object. |
java.lang.String |
getMessage()
|
java.lang.Object |
getProperty(java.lang.String propertyName)
Gets the value for a specific property. |
java.lang.String |
getRole()
Returns a brief type name that describes the role this object plays in the UI. |
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. |
java.lang.String |
getTestObjectClassName()
Returns the top level GUI test object that implements IFileDialog and ITopLevel . |
void |
processSingleMouseEvent(IMouseActionInfo action)
The method is used to add comments to the MethodSpecification |
void |
setFile(java.lang.String file)
|
Methods inherited from class com.rational.test.ft.domain.java.swt.DialogProxy |
---|
activateTopWindow, clearText, close, getCachedMethodName, getChildrenEnumeration, getComments, getDescriptiveName, getDialogWindow, getMappableParent, getOwner, getParent, getParentObject, getScreenRectangle, getStyle, getText, hasFocus, inputChars, inputKeys, isEnabled, isShowing, setCachedMethodName, setText |
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 |
Constructor Detail |
---|
public DirectoryDialogProxy(java.lang.Object theObjectInTheSUT)
theObjectInTheSUT
- Method Detail |
---|
public java.util.Enumeration getImmediateChildren()
JavaGuiProxy
getImmediateChildren
in class JavaGuiProxy
public java.lang.String getRole()
ProxyTestObject
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.
getRole
in class JavaProxy
public java.lang.String getTestObjectClassName()
IFileDialog
and ITopLevel
.
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class JavaGuiProxy
public void processSingleMouseEvent(IMouseActionInfo action)
DialogProxy
processSingleMouseEvent
in class DialogProxy
public void setFile(java.lang.String file)
public com.rational.test.ft.sys.graphical.DirectoryDialog getFileDialogWindow()
public com.rational.test.ft.script.ScriptCommandFlags getScriptCommandFlags()
getScriptCommandFlags
in class JavaGuiProxy
public void clickAccept()
public void clickCancel()
public java.lang.Object getProperty(java.lang.String propertyName)
JavaProxy
getProperty
in class DialogProxy
propertyName
- The name of the property to fetch.
ProxyTestObject.getProperties()
,
ProxyTestObject.setProperty(String,Object)
,
ProxyTestObject.getRecognitionProperties()
,
ProxyTestObject.addRecognitionProperty(String,Object,int)
public java.lang.String getMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |