IBM Rational Functional Tester
Version 6.1
IBM Rational Functional Tester API Reference

Project Version 2.0

com.rational.test.ft.object.interfaces
Class FileDialogTestObject

java.lang.Object
  extended bycom.rational.test.ft.object.interfaces.TestObject
      extended bycom.rational.test.ft.object.interfaces.GuiTestObject
          extended bycom.rational.test.ft.object.interfaces.FrameTestObject
              extended bycom.rational.test.ft.object.interfaces.TopLevelTestObject
                  extended bycom.rational.test.ft.object.interfaces.FileDialogTestObject
All Implemented Interfaces:
IFileDialog, IFrame, IGraphical, ITopWindow

public class FileDialogTestObject
extends TopLevelTestObject
implements IFileDialog

Represents native-style file dialog controls. This interface can be used to make the native-control recording more resilient. Due to disconnects between the host domain and the native-level implementation, these controls typically do not expose all the visible child controls. For example, because it is host specific, the file-selection control typically does not appear as a child. Hiding of the child objects significantly reduces the portability of actions against these controls.

Since:
RFT1.0

Field Summary
 
Fields inherited from interface com.rational.test.ft.object.interfaces.ITopWindow
INPUTCHARS_METHOD, INPUTKEYS_METHOD
 
Constructor Summary
FileDialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
          For internal use.
FileDialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
          For internal use.
FileDialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
          For internal use.
FileDialogTestObject(com.rational.test.ft.object.TestObjectReference ref)
          For internal use.
 
Method Summary
 void clickAccept()
          Clicks on the file dialog button that accepts the recognition information.
 void clickCancel()
          Clicks on the cancel button on the file dialog.
 void setFile(java.lang.String file)
          Sets the full path name specified in the associated file dialog window.
 
Methods inherited from class com.rational.test.ft.object.interfaces.TopLevelTestObject
activate, clickDisabled, close, inputChars, inputKeys, isIconified, maximize, minimize, move, resize, restore
 
Methods inherited from class com.rational.test.ft.object.interfaces.FrameTestObject
contextHelp
 
Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject
click, click, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, hasFocus, hover, hover, hover, hover, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint
 
Methods inherited from class com.rational.test.ft.object.interfaces.TestObject
equals, exists, find, find, find, findAndInvoke, findAndInvoke, findAndInvokeProxy, getChildren, getDescribedObject, getDescribedObjects, getDomain, getField, getIndexer, getIndexer, getIndexers, getMappableChildren, getMappableParent, getMethods, getNameInScript, getNonValueProperties, getObjectClassName, getObjectReference, getOwnedObjects, getOwner, getParent, getProcess, getProperties, getProperty, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTestDataTypes, getTopMappableParent, getTopParent, invoke, invoke, invokeProxy, invokeProxy, isMappedObject, isSameObject, setIndexer, setIndexer, setProperty, toString, unregister, updateTestData, waitForExistence, waitForExistence
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rational.test.ft.object.interfaces.ITopWindow
activate, clickDisabled, inputChars, inputKeys
 
Methods inherited from interface com.rational.test.ft.object.interfaces.IFrame
close, contextHelp, isIconified, maximize, minimize, move, resize, restore
 
Methods inherited from interface com.rational.test.ft.object.interfaces.IGraphical
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint
 

Constructor Detail

FileDialogTestObject

public FileDialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use.

Since:
RFT1.0

FileDialogTestObject

public FileDialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
                            TestObject anchor)
For internal use.

Since:
RFT1.0

FileDialogTestObject

public FileDialogTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
                            TestObject anchor,
                            long scriptCommandFlags)
For internal use.

Since:
RFT1.0

FileDialogTestObject

public FileDialogTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use.

Since:
RFT1.0
Method Detail

setFile

public void setFile(java.lang.String file)
Sets the full path name specified in the associated file dialog window. Both the directory name and file name are specified in the appropriate file path format for the target test context.

Specified by:
setFile in interface IFileDialog
Parameters:
file - the full path name for the desired file
Since:
RFT1.0

clickAccept

public void clickAccept()
Clicks on the file dialog button that accepts the recognition information. This information varies from host to host. Therefore, a generic method is supplied to perform this functionality.

Specified by:
clickAccept in interface IFileDialog
Since:
RFT1.0

clickCancel

public void clickCancel()
Clicks on the cancel button on the file dialog. The recognition information that is associated with this button varies from host to host. Therefore, a generic method is supplied to perform this functionality.

Specified by:
clickCancel in interface IFileDialog
Since:
RFT1.0