IBM Rational Functional Tester
Version 6.1
IBM Rational Functional Tester API Reference

Project Version 2.0

Package com.rational.test.ft.object.interfaces

The package com.rational.test.ft.object.interfaces provides the classes that interact with objects in the software under test.

See:
          Description

Interface Summary
IBrowserObject Supported by objects that represent HTML browser objects.
IClickTo Performs the necessary mouse actions to attain the desired state specified by the subitem.
IFileDialog Defines the methods uniquely associated with a file-dialog type of control.
IFrame Defines the interface for frame GUI objects.
IGraphical Supported by all GUI objects.
IGraphicalSubitem Defines methods that enable access to actions replayed by the mouse or keyboard.
IInternalFrame Defines the interface for internalframe GUI objects.
IScreen Provides simple access to a Screen object.
IScrollable Defines the methods necessary for supporting scrolling, relative to a particular component.
ISelect Provides meta-actions for selectable subitems in a control.
ISubitem Defines the methods that must be supported for access to subitems.
ITestObjectReference Defines the standard interface for all TestObjectReference objects.
IText Exposes methods that are explicitly associated with a text type control.
IToggle Supports objects with binary state characteristics such as check boxes, radio buttons, and toggle buttons.
IToggleGUI Extends the definition of the IToggle interface to include actions that directly use the mouse.
ITopWindow Defines the interface for top-level GUI objects.
IWindow Provides access to the native window management system; any use of this interface is likely to be platform specific.
 

Class Summary
BrowserTestObject Provides script access to the general browser, which is the HTML Browser TestObject class.
CrossDomainContainer For internal use only.
DomainTestObject Provides access to an object domain.
EmbeddedBrowserTestObject Provides script access to the general embedded browser, which is the HTML Browser TestObject class.
FileDialogTestObject Represents native-style file dialog controls.
FrameSubitemTestObject Provides subitem methods for frame controls.
FrameTestObject Represents frame objects in the system under test.
GuiSubitemTestObject Provides access to actions replayed by the mouse or keyboard.
GuiTestObject The core class for modeling GUI components.
InternalFrameTestObject Represents frame objects in the system under test.
ProcessTestObject Provides, in a host-independent manner, access to process information that is specific to the operating system.
RootTestObject The RootTestObject represents a global view of the system being tested.
ScrollGuiSubitemTestObject Provides access to actions replayed by the mouse or keyboard.
ScrollTestObject Provides methods to move horizontal and vertical scrollbars.
SelectGuiSubitemTestObject For internal use only.
SelectScrollGuiSubitemTestObject Provides access to actions replayed by the mouse or keyboard.
StatelessGuiSubitemTestObject Provides access to actions replayed by the mouse or keyboard.
SubitemTestObject Defines the methods that must be programmatically supported for access to subitems.
TestObject Provides access to objects in the software under test.
TextGuiSubitemTestObject Provides meta-actions on text in a control.
TextGuiTestObject Provides access to text in a control.
TextScrollTestObject Provides methods to move horizontal and vertical scrollbars.
TextSelectGuiSubitemTestObject Extends commmand to access text on a selectable TestObject.
ToggleGUITestObject Extends the definition of the IToggle interface to include actions that directly use the mouse.
ToggleTestObject Serves as the base TestObject implementation of the IToggle interface.
TopLevelSubitemTestObject Represents top-level window objects in the system under test that support subitems.
TopLevelTestObject Represents top-level window objects in the system under test.
TrackbarTestObject Provides subitem methods for trackbar controls.
 

Package com.rational.test.ft.object.interfaces Description

The package com.rational.test.ft.object.interfaces provides the classes that interact with objects in the software under test.

TestObjects

Functional Test uses TestObjects as an indirect means of accessing and managing objects in the software under test. The TestObject class contains properties and methods that enable Functional Test to recognize and manage objects during script playback. All TestObjects support invocation of methods that either get, set, or enumerate the properties in the class.

The base class for all TestObjects is TestObject. One of the subclasses that extend TestObject is GuiTestObject, which is the base class for all TestObjects containing a Graphical User Interface. GuiTestObjects support a variety of methods that operate on the object through the screen, for example GuiTestObject.click().

ProcessTestObjects

When a test script starts an application, Functional Test returns a ProcessTestObject, which can be used to monitor or end the process. This ProcessTestObject contains a reference to the associated DomainTestObject.

DomainTestObjects

The DomainTestObject class contains top-level TestObjects that define the hierarchy of TestObjects available in that domain. A DomainTestObject can be obtained either from:

The DomainTestObject class contains:

Application-specific TestObjects

Associated with each DomainTestObject is a set of top-level application-specific TestObjects. Depending on the requirements of a particular application, Functional Test models the functionality of the software under test by using the following types of objects:

The application-specific TestObject indirectly interacts with the proxy classes.

Proxy classes

Functional Test provides proxy classes to communicate directly with specific controls in the software under test. This enables testing custom objects in Java through the corresponding standard, supported objects. The Functional Test proxy class that interacts directly with each control in the application chooses an appropriate TestObject. The TestObject that communicates indirectly to the proxy is constructed by the script. This proxy interacts with a control in the software under test.

Since:
RFT1.0