Does Ranorex make use of the External Interface to recognize objects within Flash applications?
I'm trying to debug an issue where Ranorex doesn't recognize that the application has been loaded with the automation swc. I'd like to know if I can try calling any external interface methods from javascript, or if there's another way to figure out what objects cannot be recognized.
Object Recognition w/i Flash
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Object Recognition w/i Flash
Hi,
Therfore take a look at the following link.
To determine if Ranorex can find all your elements you can open the Ranorex Spy and identify your application.
Which version of Ranorex are you using, do you have tried to use the new preloader to identify your Flash elements?
If you are using 3.1.1 you can start the Instrumentation Wizard to install the preloader, but please consider that you have to remove the old instrumentation first.
For more information take a look at the following link.
Regards,
Markus
Ranorex Support Team
Which External Interface do you mean?Does Ranorex make use of the External Interface to recognize objects within Flash applications?
Are you sure that you correctly included the Ranorex Lib?I'm trying to debug an issue where Ranorex doesn't recognize that the application has been loaded with the automation swc
Therfore take a look at the following link.
Which external interface methods do you mean?I'd like to know if I can try calling any external interface methods from javascript, or if there's another way to figure out what objects cannot be recognized.
To determine if Ranorex can find all your elements you can open the Ranorex Spy and identify your application.
Which version of Ranorex are you using, do you have tried to use the new preloader to identify your Flash elements?
If you are using 3.1.1 you can start the Instrumentation Wizard to install the preloader, but please consider that you have to remove the old instrumentation first.
For more information take a look at the following link.
Regards,
Markus
Ranorex Support Team
Re: Object Recognition w/i Flash
I mean the actionscript external interface - http://help.adobe.com/en_US/FlashPlatfo ... er_air=2.6
I'm sure that the automation library is included, I compiled the swc in with the application and have also tried the preloader. I think the problem is how our application is deployed, but in trying to debug the issue I wanted to see if there were *Ranorex* methods exposed via the actionscript external interface - said another way, I want to ensure that the appropriate hooks in to the app are being exposed and not consumed somehow by our application.
Ranorex does not identify any objects, thus my question on debugging.
I'm sure that the automation library is included, I compiled the swc in with the application and have also tried the preloader. I think the problem is how our application is deployed, but in trying to debug the issue I wanted to see if there were *Ranorex* methods exposed via the actionscript external interface - said another way, I want to ensure that the appropriate hooks in to the app are being exposed and not consumed somehow by our application.
Ranorex does not identify any objects, thus my question on debugging.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Object Recognition w/i Flash
Hi,
You could use following code snippet to check if Ranorex is loaded
Hopefully this is what you need.
Regards,
Peter
Ranorex Team
You could use following code snippet to check if Ranorex is loaded
var ranorexClass:Class = ApplicationDomain.currentDomain.getDefinition("Ranorex::RxAutomationBase") as Class; var test:Object = ranorexClass["autoApp"]; if(test != null) Alert.show("Ranorex loaded successfully"); else Alert.show("Ranorex not loaded");But this piece of code doesn't work with the PreLoader, because you cannot reach the AppDomain of the PreLoader.
Hopefully this is what you need.
Regards,
Peter
Ranorex Team