com.rational.test.ft.domain.flex

Class FlexTestDomainImplementation

  • java.lang.Object
    • com.rational.test.ft.domain.TestDomain
      • com.rational.test.ft.domain.TestDomainImplementation
        • com.rational.test.ft.domain.flex.FlexTestDomainImplementation


  • public class FlexTestDomainImplementation
    extends com.rational.test.ft.domain.TestDomainImplementation
    • Field Detail

      • debug

        protected static com.rational.test.ft.util.FtDebug debug
    • Method Detail

      • getChildren

        public static java.lang.String getChildren(long handle,
                                                   java.lang.String playerId,
                                                   java.lang.String automationId,
                                                   java.lang.String browserName)
      • getTopLevelObject

        public static java.lang.String getTopLevelObject(long handle,
                                                         java.lang.String playerId,
                                                         java.lang.String browserName)
      • getDescribedObject

        public static java.lang.String getDescribedObject(long handle,
                                                          java.lang.String playerId,
                                                          java.lang.String browserName)
      • getProperty

        public static java.lang.String getProperty(long handle,
                                                   java.lang.String playerId,
                                                   java.lang.String automationId,
                                                   java.lang.String propName,
                                                   java.lang.String browserName)
      • getProperties

        public static java.lang.String getProperties(long handle,
                                                     java.lang.String playerId,
                                                     java.lang.String automationId,
                                                     java.lang.String propertiesName,
                                                     java.lang.String browserName)
      • setProperty

        public static void setProperty(long handle,
                                       java.lang.String playerId,
                                       java.lang.String automationId,
                                       java.lang.String propertyName,
                                       java.lang.String propertyValue,
                                       java.lang.String browserName)
      • getChartProperty

        public static java.lang.String getChartProperty(long handle,
                                                        java.lang.String playerId,
                                                        java.lang.String automationId,
                                                        java.lang.String browserName)
      • AddFlexApplication

        public boolean AddFlexApplication(java.lang.String playerId,
                                          long serverexplorerHwnd,
                                          long playerhWnd,
                                          long browserhWnd,
                                          java.lang.String browserName)
      • AddPlayerId

        public static void AddPlayerId(java.lang.String playerId,
                                       long serverexplorerHwnd,
                                       long playerhWnd,
                                       long browserhWnd,
                                       java.lang.String browserName)
      • BeginRecorder

        public boolean BeginRecorder(long handle,
                                     java.lang.String playerId)
      • getDescribedObject

        public com.rational.test.ft.domain.ProxyTestObject getDescribedObject(com.rational.test.ft.domain.DescribedObject describedObject)
        Overrides:
        getDescribedObject in class com.rational.test.ft.domain.TestDomainImplementation
      • getTopLevelObjects

        public java.util.Enumeration getTopLevelObjects()
        Specified by:
        getTopLevelObjects in class com.rational.test.ft.domain.TestDomainImplementation
      • getBrowserWindow

        public com.rational.test.ft.sys.graphical.TopLevelWindow getBrowserWindow(java.lang.String playerId)
      • getActionRecordingFlags

        public int getActionRecordingFlags()
        Specified by:
        getActionRecordingFlags in class com.rational.test.ft.domain.TestDomainImplementation
      • getDomainProxy

        public com.rational.test.ft.domain.DomainProxy getDomainProxy()
        Specified by:
        getDomainProxy in class com.rational.test.ft.domain.TestDomainImplementation
      • getImplementationName

        public java.lang.String getImplementationName()
        Specified by:
        getImplementationName in class com.rational.test.ft.domain.TestDomainImplementation
      • getProxy

        public com.rational.test.ft.domain.ProxyTestObject getProxy(java.lang.Object theObject)
        Specified by:
        getProxy in class com.rational.test.ft.domain.TestDomainImplementation
      • getProxy

        public com.rational.test.ft.domain.ProxyTestObject getProxy(java.lang.Object theObject,
                                                                    long transId)
      • getTopLevelObject

        public com.rational.test.ft.domain.ProxyTestObject getTopLevelObject(com.rational.test.ft.sys.graphical.Window window)
        Specified by:
        getTopLevelObject in class com.rational.test.ft.domain.TestDomainImplementation
      • registerProxies

        public void registerProxies(java.util.Enumeration proxies)
        Specified by:
        registerProxies in class com.rational.test.ft.domain.TestDomainImplementation
      • getProxyEvents

        public com.rational.test.ft.sys.MethodSpecification getProxyEvents()
      • RecordEventFromFlex

        public void RecordEventFromFlex(java.lang.String automationId,
                                        java.lang.String eventName,
                                        java.lang.String eventArgs)
        This method is the entry point for creation of flex proxies at recording time. Flex automation framework calls this method whenever an action happens in Flex AUT.
      • CreateMethodSpec

        public void CreateMethodSpec(java.lang.String automationId,
                                     java.lang.String eventName,
                                     java.lang.String eventArgs)
      • find

        public com.rational.test.ft.object.manager.FindResult find(com.rational.test.ft.object.map.IMappedTestObject[] pathToFind)
        Overrides:
        find in class com.rational.test.ft.domain.TestDomainImplementation
      • playback

        public boolean playback(java.lang.String playerId,
                                java.lang.String automationId,
                                java.lang.String eventName,
                                java.lang.String eventArgs)
      • getChildAtPoint

        public java.lang.String getChildAtPoint(java.lang.String playerId,
                                                int x,
                                                int y)
      • getProperties

        public java.util.Hashtable getProperties(java.lang.String playerId,
                                                 java.lang.String automationId,
                                                 java.lang.String propertiesName)
      • getProperty

        public java.lang.Object getProperty(java.lang.String playerId,
                                            java.lang.String automationId,
                                            java.lang.String propertyName)
      • setProperty

        public void setProperty(java.lang.String playerId,
                                java.lang.String automationId,
                                java.lang.String propertyName,
                                java.lang.String propertyValue)
      • getChartProperty

        public java.lang.String[] getChartProperty(java.lang.String playerId,
                                                   java.lang.String automationId)
      • getWindowRectangle

        public java.awt.Rectangle getWindowRectangle(java.lang.String playerId)
      • getRectangle

        public java.awt.Rectangle getRectangle(java.lang.String playerId,
                                               java.lang.String automationId)
      • getAutomationChildAt

        public java.lang.String getAutomationChildAt(java.lang.String playerId,
                                                     java.lang.String automationId,
                                                     int childIndex)
      • getChildren

        public java.lang.String[] getChildren(java.lang.String playerId,
                                              java.lang.String automationId)
      • prepareDomainsForRecording

        public void prepareDomainsForRecording()
      • clearFlexQueue

        public void clearFlexQueue()
      • PrepareToStop

        public void PrepareToStop()
      • ReadyToStop

        public void ReadyToStop()
      • getFlexInfo

        public com.rational.test.ft.domain.flex.FlexTestDomainImplementation.FlexAppInfo getFlexInfo(java.lang.String playerId)
      • isFlexObject

        public static boolean isFlexObject(com.rational.test.ft.domain.ProxyTestObject object)