How could I get flash components in Desktop Applications?

Ask general questions here.
hectorkm
Posts: 3
Joined: Fri Oct 30, 2009 2:50 pm

How could I get flash components in Desktop Applications?

Post by hectorkm » Fri Oct 30, 2009 3:13 pm

Hi,

I'm using the Ranorex 2.1.4 Trial Version.

In my application, I have a form with 2 Windows.Forms.Textbox and a FlashAnimation. Using the Spy I found the 2 textbox and the flash animation. Inside flash animation I have 2 buttons and an area that shows some login issues (wrong user, wrong password), but I'm not obtaining to pick this area to make my validations.

Any suggestion will be helpfull.

Thanks,

Hector.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How could I get flash components in Desktop Applications?

Post by Support Team » Mon Nov 02, 2009 4:26 pm

Hector,

Embedded Flash/Flex in Windows Forms is currently not supported.
Support has been added in the upcoming version 2.2, which will be released within two weeks.

This will only work, however, if you either instrument your flash application with the Ranorex library or use the RanorexLoader.swf (which is required for all flash/flex testing). Details can be found here:
http://www.ranorex.com/support/user-gui ... html#c2305

Michael
Ranorex Team
.
Image

hectorkm
Posts: 3
Joined: Fri Oct 30, 2009 2:50 pm

Re: How could I get flash components in Desktop Applications?

Post by hectorkm » Tue Nov 17, 2009 6:20 pm

Thanks for answer Michael. I read the User's Guide and I could not find how to use RanorexLoader in an WindowsForm. I got the new Trial Version (Ranorex 2.2) and i dont know how load the Flash Movies embedded in the application.

I'd like to know if have a way to use the loader, if I can where i need to call it.

in-waiting,

Hector

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How could I get flash components in Desktop Applications?

Post by Support Team » Wed Nov 18, 2009 11:05 am

Hector,
The flash support for windows forms only works if the embedded SWF includes the RanorexAutomation.swc library. This requires the support of the developer which built your embedded application SWF.

You can find more information here:
http://www.ranorex.com/support/user-gui ... html#c2255

In theory, the loader could also be used, but the application still has to be changed to include the loader instead of the original application:
http://www.ranorex.com/support/user-gui ... html#c2305

Instead of using the url, you would have to set the flashvars to include "rxtarget" for the loader which points to your original swf.

Michael
Ranorex Team
.
Image

hectorkm
Posts: 3
Joined: Fri Oct 30, 2009 2:50 pm

Re: How could I get flash components in Desktop Applications?

Post by hectorkm » Wed Nov 18, 2009 12:38 pm

Thanks again Michael,

I asked because I didn't want to change the original movie, then I'll tell to dev team to make 2 movies, 1 for tests and 1 for final application.

Gratefully,

Hector