Object Classes in Rational Functional Tester

There are times when Rational Functional Tester maps objects incorrecly, e.g. mapping a combo box as a check box (this seems to happen fairly frequently to me). To fix this, open the Object Map window (displayed after double clicking the object map file displayed in Script Explorer), select the object you wish to change, and make its “Proxy Class Name”, “Role” and “Test Object Class” match the relevant info from the following table.

Note: doing this can severely screw up your object map. It works for me, but it may not work for you. On your head be it should you chose to go fidding with your object map ;)

Target Object Type Proxy Class Name Role Test Object Class Name
Button .java.jfc.AbstractButtonProxy Button GuiTestObject
Checkbox .java.jfc.JCheckBoxProxy CheckBox ToggleGUITestObject
Combo Box .java.jfc.JComboBoxProxy ComboBox TextSelectGuiSubitemTestObject
Dialog Box .java.jfc.JDialogProxy Dialog TopLevelTestObject
Internal Frame .java.jfc.JInternalFrameProxy InternalFrame InternalFrameTestObject
Label .java.jfc.JLabelProxy Label GuiTestObject
List .java.jfc.JListProxy List SelectGuiSubitemTestObject
Menu Bar .java.jfc.JMenuBarProxy MenuBar GuiSubitemTestObject
Option Button .java.jfc.AbstractButtonProxy RadioButton ToggleGUITestObject
Page Tab List .java.jfc.JTabbedPaneProxy PageTabList GuiSubitemTestObject
Panel .java.jfc.InternalFrameTitlePaneProxy Panel GuiTestObject
Popup Menu .java.jfc.JPopupMenuProxy PopupMenu GuiSubitemTestObject
Scroll Pane .java.jfc.JScrollPaneProxy ScrollPane GuiSubitemTestObject
Split Pane .java.jfc.JSplitPaneProxy SplitPane GuiSubitemTestObject
Tabbed Pane .java.jfc.JPanelProxy TabbedPage GuiTestObject
Table .java.jfc.JTableProxy Table GuiSubitemTestObject
Table Header .java.jfc.JTableHeaderProxy TableHeader GuiSubitemTestObject
Text Field .java.jfc.JTextProxy Text TextGuiSubitemTestObject
Tree .java.jfc.JTreeProxy Tree GuiSubitemTestObject
Window .java.jfc.JFrameProxy Frame TopLevelTestObject
This entry was posted in Automated Testing, Rational Functional Tester and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>