com.rational.test.ft.domain.flex

Class FlexViewStackProxy

  • All Implemented Interfaces:
    com.rational.test.ft.domain.IChannelObject, com.rational.test.ft.domain.IDataDriven, com.rational.test.ft.domain.IProxyBase, com.rational.test.ft.object.interfaces.IGraphical
    Direct Known Subclasses:
    FlexTabNavigatorProxy


    public class FlexViewStackProxy
    extends FlexContainerProxy
    • Field Detail

      • PROPERTY_SELINDEX

        protected static final java.lang.String PROPERTY_SELINDEX
        See Also:
        Constant Field Values
    • Constructor Detail

      • FlexViewStackProxy

        public FlexViewStackProxy(FlexTestDomainImplementation theDomain,
                                  com.rational.test.ft.domain.IChannel channel,
                                  java.lang.String theAutomationID)
    • Method Detail

      • getTestObjectClassName

        public java.lang.String getTestObjectClassName()
        Description copied from class: FlexObjectProxy
        Returns a valid class name specification. The test script (which runs in a separate process) interacts with a class that supports a shared interface with a specific proxy. This class is called a TestObject class. The testObject performs a cross-process (and cross-JVM) call to the same method against an associated proxy, which is this proxy.

        This method should never return null, even if shouldBeMapped() returns false. User may still access objects such as this through scripting method calls and can return references to them. If a null were returned, the marshalling code would be confused and would not be able to construct a test object.

        This method may be called from any thread.

        Specified by:
        getTestObjectClassName in interface com.rational.test.ft.domain.IProxyBase
        Overrides:
        getTestObjectClassName in class FlexContainerProxy
        Returns:
        The associated testObject class full name.
      • getRole

        public java.lang.String getRole()
        Description copied from class: FlexObjectProxy
        Returns a brief type name that describes the role this object plays in the UI. For instance a 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.

        Overrides:
        getRole in class FlexObjectProxy
        Returns:
        A brief type name that describes the role this object plays in the UI.
      • getSelectedIndex

        public int getSelectedIndex()
      • select

        public void select(int index)
      • getChildContainerLabels

        public java.lang.String[] getChildContainerLabels()