Page 1 of 1

Flash: Is it possible to access ExternalInterface methods?

Posted: Mon Jul 21, 2014 2:28 pm
by VladimirRkv
Hi
I have a web-page with the Flash object on it. This Flash has several methods available via ExternalInterface.
Is there any way to call these methods using Ranorex?

Thanks.

Re: Flash: Is it possible to access ExternalInterface methods?

Posted: Wed Jul 23, 2014 4:30 pm
by Support Team
Hi VladimirRkv,

Yes, it should be possible using our ExecuteScript() method.

For example:
webDocument.ExecuteScript("$('myFlashObject').myMethod()")
or if $('myFlashObject') does not work:
webDocument.ExecuteScript("document.getElementById().myMethod()")
Regards,
Bernhard

Re: Flash: Is it possible to access ExternalInterface methods?

Posted: Mon Aug 11, 2014 3:16 pm
by VladimirRkv
Hi Bernhard.

Thank you very much for your help!
We did it! 8) It works! :D

Regards,
Vladimir