|
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.FileDialogProxy
public class FileDialogProxy
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 | |
---|---|
FileDialogProxy(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.FileDialog |
getFileDialogWindow()
|
java.util.Enumeration |
getImmediateChildren()
Return an enumeration of proxies for the immediate children of this object. |
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)
Returns a method specification for the specified mouse event. |
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, getProperty, 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 FileDialogProxy(java.lang.Object 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)
processSingleMouseEvent
in class DialogProxy
action
- The event cache and other mouse state information
for this mouse action.MethodSpecification
public void setFile(java.lang.String file)
public void clickAccept()
public com.rational.test.ft.sys.graphical.FileDialog getFileDialogWindow()
public void clickCancel()
public com.rational.test.ft.script.ScriptCommandFlags getScriptCommandFlags()
getScriptCommandFlags
in class JavaGuiProxy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |