Using FileReference.browse or ?

October 6, 2009 at 12:02 pm 3 comments

In the work flow, if you were using FileReference.browse or, the script replay can fail if you are using the Flash player 10.

Flash player 10 security features does not allow action script level programatic reply of events which triggers  the above operations. i.e These operations work only if it was triggered by the user interaction such as actual mouse click or keyboard click.

Since the automation framework replay happens at the action script level (using the low level events being dispatched on the targets), this will be blocked by the security restriction.

The flash player 10 security enhancement documentation states “In Flash Player 9, ActionScript could perform uploads and downloads at any time. With Flash Player 10, the FileReference.browse and operations may be initiated only through ActionScript that originates from user interaction. This includes actions such as clicking the mouse or pressing the keyboard. “

More about it at


Entry filed under: Flex Automation. Tags: .

How to use automation source in FlexBuilder3 FlashBuilder 4 – Beta2 is out. Spark components automation for trial

3 Comments Add your own

  • 1. Tung  |  May 24, 2010 at 3:45 am


  • 2. Vishal  |  April 7, 2011 at 9:49 am

    Hi RanisKumar,
    Thanks for the info.
    I am facing precisely the same issue. However I cannot go back to Flash Player 9 as my application does not support that.
    Is there a work-around to this issue then.
    Have tried lots of searching but not found anything related to this topic.
    Will highly appreciate any possible help in this.

    Thanks and Regards,

  • 3. Vishal  |  April 7, 2011 at 9:50 am

    Just FYI, IE version I am using is IE 6.0 and QTP is 9.5.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


October 2009
« Sep   Dec »

Most Recent Posts

%d bloggers like this: