Are both Flex and Flash applications supported by SilkTest?
What is Flex?
Adobe Flex is a collection of technologies for the development of crossplatform Rich Internet Applications based on the Adobe Flash platform.Essentially it is a development model that compiles to a SWF file. Flex has classes, components, acompiler, a debugger, class libraries, and uses XML (MXML) for declarativemarkup of components.
What is Flash?
Flash is avector animation software, originally designed to create animations for displayon web pages and Rich Web Applications.
What are the differences between Flex and Flash?
- Flash is designed to facilitate the creation of interactive content whereas Flex is geared towards application development.
- Flash stores your application in a binary FLA file, whereas Flex uses a text file based on the mark-up language MXML.
- Flex is geared towards programmers. Rather than using the presentation related constructs that are used in the creation of Flash applications, Flex applications are built using state of the art coding and debugging environment.
- Flex allows you to cleanly separate your code from the GUI layout.
Going forward, SilkTest will carry support for Flex via the Open Agent. Flash Applications by themselves are not supported by SilkTest and must be contained within a FlexContainer. The Flex TechDomain for SilkTest can be enabled against Flex applications running both in Internet Explorer and Mozilla Firefox.
How can I enable my Flex application using SilkTest?
To enable your flex application for testing, Adobe Flex developers mustinclude the following components in their Flex application:
- Adobe Flex Automation Package
- SilkTest Automation Package
On doing so the application can be enabled for testing using either ofthe following methods:
- Linking Automation Packages to your Applications
- Run-time loading
Further information on implementing the above can be found in the SilkTest Help.
Can I test Flex applications that run both remotely and as a local application?
If you wish to test an Flex application that runs locally using theFlash Player you must first configure your security settings:
Configuring Security Settings for Your Local Flash Player
Before you launch an Adobe Flex application that runs as a localapplication for the first time, you must configure security settings for yourlocal Flash Player. You must modify the Adobe specific security settings toenable the local application access to the file system.
To configure security settings for your local Flash player:
1. Open the Flex Security Settings Page by clicking Start>Programs>Borland>SilkTest >Sample Applications>Adobe Flex>Flex Security Settings.
2. Click "Always allow".
3. From the Edit Locations drop-down menu, click "Add Location".
4. Click Browse for folder and navigate to the folder where your local application is installed.
- The SilkTest Flex sample application, Control Explorer, is located in the ng/controlcenter/samples/flex folder on your local drive. By default, the is located at Program Files/Borland/SilkTest.
5. Click Confirm and then close the browser.