com.rational.test.ft.object.interfaces

Class TextGuiSubitemTestObject

    • Constructor Detail

      • TextGuiSubitemTestObject

        public TextGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
        For internal use.
        Since:
        RFT2.0
      • TextGuiSubitemTestObject

        public TextGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
                                        TestObject anchor)
        For internal use.
        Since:
        RFT2.0
      • TextGuiSubitemTestObject

        public TextGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
                                        TestObject anchor,
                                        long scriptCommandFlags)
        For internal use.
        Since:
        RFT2.0
      • TextGuiSubitemTestObject

        public TextGuiSubitemTestObject(com.rational.test.ft.object.TestObjectReference ref)
        For internal use.
        Since:
        RFT2.0
      • TextGuiSubitemTestObject

        public TextGuiSubitemTestObject(TestObject obj)
        Constructs one GuiTestObject from another TestObject. Both are references to the same object.
        Since:
        RFT2.0
    • Method Detail

      • getText

        public java.lang.String getText()
        Allows direct access to the text property on the control.
        Specified by:
        getText in interface IText
        Returns:
        The active text in the control.
        Since:
        RFT2.0
      • setText

        public void setText(java.lang.String text)
        Directly modifies the text on the control. Any existing text in the control is replaced with the specified text value. This command will attempt to playback this action from the glass when possible.
        Specified by:
        setText in interface IText
        Parameters:
        text - The text to update the control with.
        Since:
        RFT2.0