Deploying Flex Files - Adobe FLEX 2-TESTING FLEX APPLICATIONS WITH MERCURY QUICKTEST PROFESSIONAL Manual

Testing flex applications with mercury quicktest professional
Table of Contents

Advertisement

Before you can test a Flex application, a Flex developer compiles a SWF file for you. The
developer also provides you with an HTML file that embeds the SWF file in it. This is known
as the HTML wrapper. You deploy these two files to any web server.
Some Flex applications require the use of external resources, such as web services or remote
objects, so you should ensure that your web server can access these resources. You might be
required to add a permissions file to the target server to allow your Flex application to access
the server. For more information, ask the Flex developer.
To run a test, you launch QTP and request the HTML wrapper. QTP records the interaction
with the Flex application as it would with any other target type. You should then be able to
rerun your tests against the Flex application as long as the web server remains accessible.

Deploying Flex files

Before you can test the Flex application, you must deploy the application and its supporting
files to a location that is accessible by QTP. These files include:
Application SWF file
HTML wrapper and wrapper files (the wrapper files can include SWF files, JavaScript
files, and other files)
RSL SWC files
Module SWF files
Helper files such as theme SWC files, style SWF files, and image, video, and sound files
You deploy the Flex application and HTML wrapper file to any location on your HTTP
server. You must be able to access this location from QTP.
In some cases, files used by the Flex application might be located on a remote server. In this
case, you must be sure that the files are accessible through any firewalls. Furthermore, the
remote servers might need to include cross-domain permission files to allow remote access.
For more information, you should discuss this with the Flex developer.
If necessary, you can password-protect the HTML wrapper and use the QTP authentication
mechanism to access it. For more information, see the QTP documentation.
6
Working with QuickTest Professional

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX 2-TESTING FLEX APPLICATIONS WITH MERCURY QUICKTEST PROFESSIONAL and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex 2

Table of Contents