Configuring the non-enabled Flex application
You can configure the Flex applications that are not compiled using theHCL OneTest™ UI agent and Flex automation libraries.
About this task
The developer must first set up the development environment before enabling the Flex application for testing with HCL OneTest™ UI by configuring the Runtime loader to generate the SWF file for the application to be tested.
After the SWF file is generated, the Flex application must be configured to create the URL that HCL OneTest™ UI must use to test the SWF file.
Procedure
-
To generate the SWF file for the Flex application, complete these steps:
Note: Runtime loaders for the supported Flex versions such as 4.5 can be configured by providing the appropriate SDK libraries and changing the output filenames accordingly. The runtime loader files that are enabled corresponding to the SDK under use, must be embedded in the html page.
-
To create the URL that is to be used to test the SWF file, complete these steps:
- Click .
- Click Add in the Application Configuration Tool window.
- Select Flex Application, and click Next.
- Select Configure Flex application setup in Flex application configuration type, and Click Next.
- Select Web Application as the type of Flex application.
- Select Runtime from the Enablement type list.
- Select the Flex version from the Flex SDKs list.
- Click Browse to select the SWF file of the application to be tested in the Application field.
- Click Finish.