The information in this topic applies to web tests that implement the default approach (rely on Name Mapping and run in local environments).
This topic describes requirements that should be met in order for TestComplete to be able to test AIR applications properly. If something goes wrong, check the requirements listed in the following sections:
AIR Support Plugins
Core AIR Plugins
TestComplete support for testing AIR applications is provided by the following plugins:
Web Testing
Flash Support
Open Applications
These plugins are installed and enabled automatically. Therefore, you can test most AIR applications right out-of-box, without any additional configuration.
You can check to see if these plugins are active by selecting File | Install Extensions from the TestComplete main menu. If one of these plugins is not available, you need to run the TestComplete installation in the Repair mode.
To use the plugins, you must have a license for TestComplete Web module.
Plugins for AIR Controls Automation
The TestComplete Web module also includes pre-installed plugins for automated testing of AIR controls. These plugins provide test objects, methods and properties for automating various operations on AIR controls, getting their contents, state and so on.
Web Controls Support for HTML-based AIR applications.
Flash Controls Support for Flex-based AIR applications.
Flex Controls Support for Flex-based AIR applications.
Just like core AIR support plugins, these plugins are also installed and enabled automatically.
You can verify that these plugins are active using the File | Install Extensions dialog. To re-install the plugins, run the TestComplete installation in the Repair mode.
Supported Runtimes
With TestComplete you can test AIR applications running under Adobe AIR version 2, 3 and 17. You can download the latest version of Adobe AIR from Adobe’s web site:
Preparing AIR Applications for Testing
In order to test your AIR applications with TestComplete, you do not have to change your code in any way. But you need to prepare your application in a special way before testing. Once you have prepared your application, TestComplete automatically exposes the application’s internals and enables you to address them from your tests.
The way you prepare your AIR application depends on the type of the tested application. For detailed instructions on how to prepare AIR applications for testing with TestComplete, see the following topics:
Testing AIR Applications Running Under Another User Account
To test AIR applications that run under a different user account, you need to configure certain COM Security settings on the computer. For details, see Settings for Testing Open Applications in RunAs Mode.
In addition, TestComplete must be launched with administrator privileges.
See Also
Testing AIR Applications
Supported Controls
Installing Extensions