How TestComplete records and simulates actions on controls in Oracle Forms/EBS applications
TestComplete provides support for a number of Oracle Forms controls. It automatically recognizes individual controls by their classes (the value of the JavaFullClassName property) and lets you interact with them both at design time and during test recording or playback. Based on the object type, TestComplete provides a set of object-specific methods and properties for automating various interactions with the object. For example:
- Clicking a button is recorded and played back by using the
ClickButton
operation, -
Item selection in a pop list – by using the
ClickItem
operation, -
And so on.
When you are recording user actions on supported controls, TestComplete records special methods and properties applied to the corresponding objects, rather than just coordinate clicks. You can see some of these methods, specifically, ClickItem
and ClickButton
, in the sample test below.
Requirements
-
A license for the TestComplete Desktop module.
-
The Oracle Forms Control Support plugin. This plugin is installed and enabled automatically.
Supported controls
For a complete list of supported controls in oracle Forms/EBS applications, and properties and methods that TestComplete provides for automating these controls, see:
Note: TestComplete provides support both for the listed controls and 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.
Using native methods of supported controls
In addition to control-specific methods and properties for automating operations on supported controls, TestComplete provides access to native methods and fields of these controls. These are the same methods and fields that are used in the application’s source code. You can use these native methods and fields to extend your tests and perform custom operations that are not available with standard properties and methods provided by TestComplete. For more information, see Accessing Native Methods of Oracle Forms/EBS.
Automating unsupported controls
You can test unsupported controls by using the properties and methods provided by TestComplete to onscreen objects. Interactions with these controls are typically recorded as coordinate-based clicks.
You can also automate these controls by calling their native methods from your test or by using various helper techniques described in the Interacting With Non-Compatible Application Objects topic.