com.rational.test.ft.domain.java.swt

Class DirectoryDialogProxy

  • All Implemented Interfaces:
    com.rational.test.ft.domain.IChannelObject, com.rational.test.ft.domain.IDataDriven, com.rational.test.ft.domain.IProxyBase, IPropertyFilter, com.rational.test.ft.object.interfaces.IGraphical


    public class DirectoryDialogProxy
    extends DialogProxy
    • Constructor Detail

      • DirectoryDialogProxy

        public DirectoryDialogProxy(java.lang.Object theObjectInTheSUT)
        Parameters:
        theObjectInTheSUT -
    • Method Detail

      • getImmediateChildren

        public java.util.Enumeration getImmediateChildren()
        Description copied from class: JavaGuiProxy
        Return an enumeration of proxies for the immediate children of this object.
        Specified by:
        getImmediateChildren in class JavaGuiProxy
        Returns:
        The child proxies relative to this proxy.
      • getRole

        public java.lang.String getRole()
        Overrides:
        getRole in class JavaProxy
      • getTestObjectClassName

        public java.lang.String getTestObjectClassName()
        Returns the top level GUI test object that implements IFileDialog and ITopLevel.
        Specified by:
        getTestObjectClassName in interface com.rational.test.ft.domain.IProxyBase
        Overrides:
        getTestObjectClassName in class JavaGuiProxy
        Returns:
        The default test object class full name.
      • processSingleMouseEvent

        public void processSingleMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action)
        Description copied from class: DialogProxy
        The method is used to add comments to the MethodSpecification
        Overrides:
        processSingleMouseEvent in class DialogProxy
      • setFile

        public void setFile(java.lang.String file)
      • getFileDialogWindow

        public com.rational.test.ft.sys.graphical.DirectoryDialog getFileDialogWindow()
      • getScriptCommandFlags

        public 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. The state includes values such as enabled and showing< and allows the find algorithm to wait until a required state is achieved.
        Overrides:
        getScriptCommandFlags in class JavaGuiProxy
        Returns:
        An object that reflects the active state of the represented test object.
      • clickAccept

        public void clickAccept()
      • clickCancel

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

        public java.lang.Object getProperty(java.lang.String propertyName)
        Description copied from class: JavaProxy
        Gets the value for a specific property.
        Overrides:
        getProperty in class DialogProxy
      • getMessage

        public java.lang.String getMessage()