com.rational.test.ft.domain.flex

Class FlexAlertProxy

  • 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


    public class FlexAlertProxy
    extends FlexPanelProxy
    • Field Detail

      • PROPERTY_CANCELLABEL

        protected static final java.lang.String PROPERTY_CANCELLABEL
        See Also:
        Constant Field Values
      • PROPERTY_DEFALUTBUTTONFLAGS

        protected static final java.lang.String PROPERTY_DEFALUTBUTTONFLAGS
        See Also:
        Constant Field Values
      • PROPERTY_NOLABEL

        protected static final java.lang.String PROPERTY_NOLABEL
        See Also:
        Constant Field Values
      • PROPERTY_OKLABEL

        protected static final java.lang.String PROPERTY_OKLABEL
        See Also:
        Constant Field Values
      • PROPERTY_YESLABEL

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

      • FlexAlertProxy

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

      • 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 FlexPanelProxy
        Returns:
        A brief type name that describes the role this object plays in the UI.
      • getTestDataTypes

        public java.util.Hashtable getTestDataTypes()
        Description copied from class: FlexObjectProxy
        Returns a hashtable of data type descriptions of the verification point data available with the associated object. The hashtable keys are String objects that are used as the VP type in the associated test data. The type is a simple value that is different from other type values associated with this object under test. The type keys map to a verbose description of the test data, reasonable for presentation to a user.
        Overrides:
        getTestDataTypes in class FlexPanelProxy
        Returns:
        An hashtable of type/description pairs used to describe the verification data available from this proxy.
        See Also:
        ProxyTestObject.getTestData(String), ITestData
      • getTestData

        public com.rational.test.ft.vp.ITestData getTestData(java.lang.String testDataType)
        Overrides:
        getTestData in class FlexPanelProxy