IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.object.interfaces
Interface ISubitem

All Known Implementing Classes:
FrameSubitemTestObject, GuiSubitemTestObject, PaletteGuiSubitemTestObject, ScrollGuiSubitemTestObject, SelectGuiSubitemTestObject, SelectScrollGuiSubitemTestObject, SubitemTestObject, TextGuiSubitemTestObject, TextSelectGuiSubitemTestObject, TopLevelSubitemTestObject, TrackbarTestObject, WpfFrameSubitemTestObject, WpfGuiSubitemTestObject, WpfSelectGuiSubitemTestObject, WpfTextGuiSubitemTestObject, WpfTextSelectGuiSubitemTestObject, WpfTopLevelSubitemTestObject, WpfTrackbarTestObject

public interface ISubitem

Defines the methods that must be supported for access to subitems. These actions are programmatically performed, not by mouse or keyboard actions. Use of the IGraphicalSubitem interface enables access to actions replayed by the mouse or keyboard.

Since:
RFT6.1.1.1
See Also:
IGraphicalSubitem}

Method Summary
 void setState(Action action)
          Performs a specific action.
 void setState(Action action, Subitem item)
          Performs a specific action against the subitem at a specified index.
 void setState(Action action, Subitem start, Subitem end)
          Performs a specific action against the subitem range defined by the specified subitems.
 

Method Detail

setState

void setState(Action action,               Subitem item)
Performs a specific action against the subitem at a specified index.

Parameters:
item - the subitem to act upon
action - the action that should be performed
Example:
To setstate of item in the Classics Java Application

setState(Action.select(),atText("Bill Wu")

Since:
RFT6.1.1.1

setState

void setState(Action action)
Performs a specific action.

Parameters:
action - the action that should be performed
Example:
To setstate of combobox in the Classics Java Application

nameCombo.setState(Action.expand())

Since:
RFT6.1.1.1

setState

void setState(Action action,               Subitem start,               Subitem end)
Performs a specific action against the subitem range defined by the specified subitems.

Parameters:
start - the first subitem to act upon
end - the last subitem to act upon
action - the action that should be performed
Example:
To setstate in the Classics Java Application

setState(Action.select(),atText("John Barrie",atText("Bill Wu")

Since:
RFT6.1.1.1