TestComplete supports testing of various Oracle Forms controls. You can also modify project properties so that TestComplete recognizes your custom Oracle Forms controls. The sections below describe how you can test Oracle Forms controls in detail.
About Supported Oracle Forms Controls
TestComplete can work with any Oracle Forms control via a graphical user interface. Besides, TestComplete provides extended support for most of Oracle Forms controls. It automatically associates them with special scripting test objects that contain supplementary methods and properties for working with the controls, for example, for selecting individual items and retrieving the item text.
Requirements
-
A license for the TestComplete Desktop module.
-
The Oracle Forms Control Support plugin. The plugin is installed and enabled automatically.
If you experience issues when working with the controls, select File | Install Extensions from the TestComplete main menu to check whether the plugin is active.
Supported Component Versions
Oracle Forms 11g and 12c.
Supported Classes
Below is the full list of the Oracle Forms controls for which TestComplete provides extended support.
Note that TestComplete provides support for the listed controls as well as for their descendants. However, to make this possible, you need to specify the class name of your inherited control in the corresponding group of the project’s Object Mapping options. For more information, see Object Mapping.
Controls | Classes |
---|---|
Button | oracle.apps.fnd.ui.Button oracle.apps.fnd.ui.FormButton oracle.ewt.button.PushButton oracle.forms.ui.VButton |
Button bar | oracle.ewt.button.ButtonBar |
Checkbox | oracle.forms.ui.VCheckbox |
Combo Box | oracle.forms.ui.VComboBox |
List | oracle.forms.ui.VTList |
Pop List | oracle.forms.ui.VPopList |
Radio Button | oracle.forms.ui.VRadioButton |
Tab Panel | oracle.forms.ui.FormsTabPanel |
Text Field | oracle.forms.ui.VTextField |
Tree | oracle.ewt.dTree.DTree |
Recognizing Custom Controls
To command TestComplete to recognize your custom Oracle Forms controls, open your project’s Object Mapping options and add the control’s class name to the corresponding subgroup of the Oracle Forms Controls group. The subgroup name corresponds to your custom control’s type. Once the control is mapped, it gets all the properties, methods and actions specific to the Oracle Forms control of the corresponding type.
If the specified custom control does not fit the control’s type, then it may not properly respond to commands that TestComplete sends, so recording or playing back user actions over the tested control will cause errors.