Forum Discussion

pingdhc's avatar
pingdhc
New Contributor
15 years ago

Flash objects not recognized correctly during playback

Hi,


I'm trying out the software on flash applications, and I have this very frustrating experience that I just can't seem to resolve. I've sent an email to support about a week ago but never heard back. I will try again here, hopefully someone can help me.


In the zip file I have attached my project suite files. This is a very simple project that consists of only 2 keyword tests.

Test1 - This test is designed to launch IE, load the application, and click the "Let's Start" button.

Test2 - This test is designed to be performed after Test1, all it does is to click the "up" scroll button twice and then click the "dana_default" thumbnail.


Here is my scenario: Run Test1. When it finishes, keep IE window open. Then run Test2.

When Test2 is run, it does NOT  click the "up" scroll button as it suppose to. It clicks another random place on the page (this place does not seem to be fixed either, I've seen at least 2 or 3 versions).

Funny thing is, if I keep IE window open and run Test2 for the second time, it will then work.


I also tried combining the steps, making it only 1 keyword test, but that doesn't seem to help either.


Any advice on why this happens and how to resolve it?

  • pingdhc's avatar
    pingdhc
    New Contributor
    Hi,



    Thank you for your reply. But this does not seem to solve the problem either, if not making it worse.



    Now I tried to record with "automatic name mapping" on. After I record my test, I run it, and it fails here and there because the wrong button was clicked. I then go back to my keyword test, double click on the button name and try to "highlight" it on screen, it often highlights another unrelated object.



    I tried to fix this by re-selecting the object using "select object with cursor". After re-selecting, I verify it by highlighting it again to see that I have the right object selected. Then I re-run my test, and it still doesn't work. When I go back to edit the button, highlighting it on screen is now highlighting another object!



    This is very frustrating, if I can't even get it to click a few buttons correctly, I don't know how am I suppose to use the application for testing.



    Please advise.