- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Errors when starting Web Sessions with Flex support in iTest 4.0
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-28-2010 04:46 AM
I have an iTest web session set up with flex support enabled but get the following ActionScript errors when the session runs in the iTest internal browser:
1. VerifyError: Error #1053:illegal override of allowInsecureDomain in_main_mx_managers_SystemManager
2. ReferenceError: Error #1065:Variable_main_mx_managers_SystemManager is not defined
Although the background colour of our application is visible, we cannot reach our login screen. These errors do not appear when we access the application through a browser outside of iTest.
I have copied the files iTestAutomationEnvironment.xml & iTestFlexWrapper.swf into the directory on the application host server where the main swf sits. I have also tried the alternative compilation approach i.e. putting the swc into our build. We are using Flex 3.
Re: Errors when starting Web Sessions with Flex support in iTest 4.0
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-29-2010 04:22 AM
I think you need to place the iTest swf and xml files in every directory from which swf files are served up.
Re: Errors when starting Web Sessions with Flex support in iTest 4.0
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-29-2010 05:08 AM
Hi Greg, thanks for your reply. The 2 files have been copied to every directory where we have a swf but the result is the same.
Re: Errors when starting Web Sessions with Flex support in iTest 4.0
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-29-2010 09:00 AM
Adding further notes:
We specifically need to use flexSDK 3.5 for this application rather than 4.0.
Cannot carry out any debugging - the errors arise as the application login dialog is initialising in the internal browser. The server logs are not written to at this point so there's nothing to check. The application is deployed in Tomcat.
Have attached the some screenshots to help illustrate the problem:
1. login-initialising.png - shows application's blue background as it's initializing in the internal browser. The intialising progress bar disappears before it completes.
2. actionscript-error1.png & actionscript-error2.png - the 2 actionscript errors are then displayed.
Used the the following website from Adobe for understanding what the respectives errors mean - http://help.adobe.com/en_US/AS3LCR/Flash_10.0/runt
With the first error (1053), the footnote suggests the ActionScript in the SWF is invalid, however, the problem does not arise when initialising in a seperate (firefox) browser, only in the
internal one.
The second error (1065) indicates that 'SystemManager' is not defined. Details of this class can be found - http://livedocs.adobe.com/flex/3/langref/mx/manage
NOTE: Right mouse clicking on the blue background at this point lists the following actions:- Describe | Snapshot | Get Text | Get Data
Hope this helps.
Re: Errors when starting Web Sessions with Flex support in iTest 4.0
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-29-2010 09:46 AM
It looks like there is a problem when the iTest wrapper swf loads your swf. Basically, it has to load and instrument the code and communicate back to iTest. We are looking into what incompatibilities might exist.
Does this post answer your question? Click the "Accept as solution" button.
Was this post helpful? Click the yellow "Kudos!" button.
Re: Errors when starting Web Sessions with Flex support in iTest 4.0
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-29-2010 10:44 PM
Investigation into customer's SWF code taken offline.
Resolution will be posted here for future reference once ascertained.
