Cannot recognize Flex objects after compiling Ranorex lib in

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
acalhoun
Posts: 14
Joined: Mon Mar 04, 2013 11:09 pm

Cannot recognize Flex objects after compiling Ranorex lib in

Post by acalhoun » Mon Mar 04, 2013 11:28 pm

We are trying to test our flex application by compiling the ranorex lib into our app rather than using the PreLoader to avoid having to install the debug flash player. However, after following the instructions on how to load the lib, re-compiling the app, and restarting both the app and ranorex we are still getting a flash/flex technology limitation error when trying to use the spy to see the flex objects. I've attached a screenshot of our compiler showing the lib included. We are running Ranorex 4.0.2 and testing in IE8. I did try running the instrumentation wizard, un-checking Enable Preloader (and all other boxes) to ensure the preloader was disabled.
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Cannot recognize Flex objects after compiling Ranorex lib in

Post by Support Team » Tue Mar 05, 2013 3:31 pm

Hello,

Could you please initialize this lib in your code as described in our User Guide?
import Ranorex.RxAutomation;   
RxAutomation.Init();
Please take a look at our User Guide:
http://www.ranorex.com/support/user-gui ... html#c2245

Regards,
Markus (T)

acalhoun
Posts: 14
Joined: Mon Mar 04, 2013 11:09 pm

Re: Cannot recognize Flex objects after compiling Ranorex lib in

Post by acalhoun » Tue Mar 05, 2013 6:52 pm

Hi Markus,
The user guide indicates that those steps are for AIR apps, which ours is not. That is why we did not do it in the first place and our developer is hesitant to do it now. Can you explain the reasoning behind doing this?

Thanks!

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Cannot recognize Flex objects after compiling Ranorex lib in

Post by Support Team » Wed Mar 06, 2013 5:02 pm

Hello,

You are right.
Unfortunately, our User Guide is currently not up-to-date in this matter.

In previous versions of Ranorex, it was only necessary for AIR2 apps.
We have changed the process of loading Ranorex Lib into Flex apps.
Now, it is necessary to initialize this Lib.

Regards,
Markus (T)