Testing Multiple Flex Applications on the Same Web Page

When multiple Flex applications exist on the same Web page, Silk4J uses the Flex application ID or the application size property to determine which application to test. If multiple applications exist on the same page, but they are different sizes, Silk4J uses the size property to determine on which application to perform any actions and no additional steps are necessary.

Silk4J uses JavaScript to find the Flex application ID to determine on which application to perform any actions if:

  • Multiple Flex applications exist on a single Web page
  • Those applications are the same size
Note: In this situation, if JavaScript is not enabled on the browser machine, an error occurs when a script runs.
  1. Enable JavaScript.
  2. In Internet Explorer, perform the following steps:
    1. Choose Tools > Internet Options.
    2. Click the Security tab.
    3. Click Custom level.
    4. In the Scripting section, under Active Scripting, click Enable and click OK.
  3. Follow the steps in Testing Apache Flex Applications.
    Note: If a frame exists on the Web page and the applications are the same size, this method will not work.