com.rational.test.ft.object.interfaces

Class SubitemTestObject

  • All Implemented Interfaces:
    IGraphical, ISubitem


    public class SubitemTestObject
    extends GuiTestObject
    implements ISubitem
    Defines the methods that must be programmatically supported for access to subitems. Use of the GuiSubitemTestObject enables access to actions replayed by the mouse or the keyboard.
    Since:
    RFT1.0
    • Constructor Detail

      • SubitemTestObject

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

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

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

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

        public SubitemTestObject(TestObject obj)
        Constructs a SubitemTestObject from a TestObject. Both are references to the same object.
        Since:
        RFT1.0
    • Method Detail

      • setState

        public void setState(Action action,
                             Subitem item)
        Modifies the state of the subitem at a specified index.
        Specified by:
        setState in interface ISubitem
        Parameters:
        item - the subitem to act upon
        action - the action that is performed
        Since:
        RFT1.0
      • setState

        public void setState(Action action)
        Modifies the state of a subitem.
        Specified by:
        setState in interface ISubitem
        Parameters:
        action - the action that is performed
        Since:
        RFT1.0
      • setState

        public void setState(Action action,
                             Subitem start,
                             Subitem end)
        Modifies the state of a range of subitem.
        Specified by:
        setState in interface ISubitem
        Parameters:
        start - the first subitem to act upon
        end - the last subitem to act upon
        action - the action that is performed
        Since:
        RFT1.0