How to test flash?

Best practices, code snippets for common functionality, examples, and guidelines.
Milton
Posts: 3
Joined: Wed Oct 14, 2015 3:55 pm

How to test flash?

Post by Milton » Wed Oct 14, 2015 4:08 pm

Hi,

I'm evaluating some test automation tool for flash in web. There are not many, Ranorex is one of them to claim the support on flash. But unfortunately there is very little information on how to setup, browsing the flash UI tree, or it states there is a sample for flash but nothing there, very frustrating....

Hope you can provide some tutorial/sample on flash testing.

Thanks!
Milton

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

Re: How to test flash?

Post by Support Team » Thu Oct 15, 2015 9:58 am

Hi Milton,

Basically, you can choose two different approaches to test your flash application.

The first approach would be using the Ranorex PreLoader Instrumentation.
To do so, simply run the Ranorex Instrumentation Wizard and select the following options
Flash.png
Flash2.png
This will install the Flash Debugger for all available Browser applications and it also enables the PreLoader instrumentation

The second way would be to load the Ranorex Lib into your Flash/ Flex application.

More information about Flash/Flex Testing can be found in this chapter of our User Guide

Regards,
Markus (S)
You do not have the required permissions to view the files attached to this post.

Milton
Posts: 3
Joined: Wed Oct 14, 2015 3:55 pm

Re: How to test flash?

Post by Milton » Fri Oct 16, 2015 2:02 pm

Hi Markus,

Thanks for your reply!
But I'd like to test some online flash games, which I don't have source code. I tried to use ranorex spy to observe the UI objects for ranorex web flash exampe web apge and loos like it works, but when I tried to spy on some flash games but got nothing. What's the reason for this difference?

Thanks,
Milton

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

Re: How to test flash?

Post by Support Team » Mon Oct 19, 2015 2:22 pm

Hi Milton,

Unfortunately, it is hard to analyze this issue without having detailed information about the website in question.

May I ask you to provide the URL? This would allow me to analyze the issue directly on my machine.
Please also let me know if you get any error message when trying to track an element.

Regards,
Markus (S)

Milton
Posts: 3
Joined: Wed Oct 14, 2015 3:55 pm

Re: How to test flash?

Post by Milton » Sat Oct 24, 2015 6:12 am

Hi Markus,

Please follow the below steps to see the flash game we are going to test:
1. input "kd.doupai.tv" in your browser's address, then enter.
2. It is a Chinese web site, you might need some people who understand Chinese to help you.
3. Click "进入应用" button.
4. Input your account id and password to enter the game. It is a flash poker game.
5. You can register a new account @ zc.qq.com/en/

Let me know if you have any question.

Thanks,
Sheng

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

Re: How to test flash?

Post by Support Team » Wed Oct 28, 2015 10:56 am

Hi Sheng,

Thank you for the additional information.

I'm afraid, the best solution would be having a short remote session to analyze the problems directly on your machine.
Therefore, please contact us by email ([email protected]).

Thank you for your understanding.

Regards,
Markus (S)