In TestComplete, you can create automated tests for SAP GUI (SAP Front-End) and simulate various user actions over the application in these tests. To simulate the actions, TestComplete recognizes individual controls in the application and provides scripting objects to access these controls from tests.
About Supported SAP GUI Controls
TestComplete can work with any SAP GUI control via a graphical user interface. Besides, TestComplete provides extended support for most of SAP GUI 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
-
You must have an active license for the TestComplete Desktop module.
-
The following plugins must be enabled in TestComplete (they are installed and enabled automatically):
- Desktop Testing
- SAP GUI Application Support
- SAP GUI Application Extended Support
If you experience issues when working with the controls, select File > Install Extensions from the TestComplete main menu and check whether the plugins are active (you can find the plugins in the Desktop group). If the plugins are not available, run the TestComplete installation in Repair mode.
-
Scripting must be enabled in SAP GUI. See Preparing SAP GUI for testing.
Supported Component Versions
SAP GUI 7.40 - 7.70 for Windows.
Supported Classes
Below is a full list of the SAP GUI controls for which TestComplete provides extended support.
Note: If your control is not in the list, you still can work with it in tests by using the properties and methods that TestComplete provides for all onscreen objects.
Controls | Classes |
---|---|
Button | GuiButton |
CheckBox | GuiCheckBox |
CTextField | GuiCTextField |
ShellGridView | GuiShell |
TextField | GuiTextField |