New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE

Are both Flex and Flash applications supported by SilkTest?

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.

SilkTest Support

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.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:35
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.