This is a migrated thread and some comments may be shown as answers.

Targeting a link on a Flash map

8 Answers 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 27 Feb 2014, 10:01 AM
Hi all,

We have a web application that uses Frames and uses a Flash map for navigating around different regions which I wish to setup for testing. The region links are controlled via an XML file stored on the server.

I understand Test Studio does not fully support Flash objects and the best way around this is the blind clicking method. I have tried this however, and unless i'm doing something wrong, it doesn't work.

I've tried to put the link from the XML directly into the test step but because of the way the application works, the header is not loaded, only the body of the page.

Is there any way around this? 


8 Answers, 1 is accepted

Sort by
0
Velin Koychev
Telerik team
answered on 04 Mar 2014, 08:54 AM
Hello Kevin,

Yes, you are right, Test Studio does not have built-in support for Flash objects. The closest we have is what we call "Blind mouse clicks" i.e. invoke a mouse click at these coordinates assuming the right object/button will be there at the right time.

Please provide us with a copy of your test and if it is possible grant us access to your application so we can reproduce the issue on our end and see if we can give you any solution.

Regards,
Velin Koychev
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Kevin
Top achievements
Rank 1
answered on 07 Mar 2014, 03:58 PM
Hi Velin,

I have now figured out how to invoke blind mouse clicks but it seems to give me random results.

Some times it clicks the mouse in the right location and sometimes it doesn't.

I'm unable to provide access to the application unfortunately as it is on a local server but please find my test attached. 
0
Kevin
Top achievements
Rank 1
answered on 07 Mar 2014, 03:59 PM
Forgot the attachment..
0
Velin Koychev
Telerik team
answered on 12 Mar 2014, 09:17 AM
Hello Kevin,

I am sorry to hear this issue still exists.

As I said, unfortunately this solution will work only if the right object/button is there at the right time. If this location of the element changes for some reason, Test Studio will not be able to click on the right place. 

One thing you can also try is to select another element as a reference point for the blind click. Currently you are using THMainFrame element, which I believe is the whole frame. 

Regards,
Velin Koychev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Kevin
Top achievements
Rank 1
answered on 17 Mar 2014, 04:45 PM
Hi Valin,

Unfortunatly, the webapp i'm working with sits inside one giant frame (well its actually two frames but act as one).

Is it possible to load two frames inside one link?

So one my web app, I would load the body link in Telerik and then load the header?
0
Velin Koychev
Telerik team
answered on 20 Mar 2014, 02:52 PM
Hello Kevin,

So one my web app, I would load the body link in Telerik and then load the header?

Could you please elaborate more about what do you mean by this? 

The only way I can try to help you is if you can give me an access to your application. But since we are talking about automating Flash, there is a good chance that nothing else can be done.

Thank you for your understanding. 

Regards,
Velin Koychev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Kevin
Top achievements
Rank 1
answered on 20 Mar 2014, 03:48 PM
Hi Velin,

I've realised my main issue is to do with frames on the pages and IE not properly finding them, which explains why my test is having difficulties clicking in the correct areas of my application (the flash map is only a small section of the page).

Kevin
0
Velin Koychev
Telerik team
answered on 25 Mar 2014, 01:47 PM
Hello Kevin,

It's good to hear that you are getting closer to resolving this problem. 

Let me know if you need any additional assistance. 
 
Regards,
Velin Koychev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Kevin
Top achievements
Rank 1
Answers by
Velin Koychev
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or