| || |
flash sample with Ranorex
If you go to the flash sample test site of Ranorex at:
and use Ranorex spy to try to recognize the flash object, put the point at that small red and black "beetle", spy will show that this is an unknown "instance26" with role "unknown".
Is it better to name this object "bettle"? And how to do this in a flash development?
I have a similiar flash application which I am trying to automate it now. It has a bunch of objects like this, and even worse, its name keep changing each time when the page loads (my developer told me that's because each time the page loads, it erases the old screen and re-play the new screen), which made my automation very hard. Because the object name changed between record and reply, so reply failed.
I checked the ../web/xml/config.xml file, which related to the flash object loading, the flash object is defined as:
<menuItem label="Technical Settings" icon="technicalSettings" url="xml/technical/index.xml" ..>
It has label and icon but those are not recognized by Ranorex Spy. I also added id="technicalSettings" name="technicalSettings", but spy still would not pick up that name.
Do you know how can I let spy pick up the right name of a flash object, just like the little bettle on your sample page?
Re: flash sample with Ranorex
Thank you for inquiry.
You can set the identifier of a flash element in Flash CS3 by defining the “Instance Name” in the Property inspector.
Unfortunately it is not possible or very difficult to set this attribute for each level of the flash hierarchy.
In your case that would mean that you would have to delete the dynamic instance name out of each RanoreXPath after your recordings.
For such problems we’ve created a plug in called RxPathWeights which enables customizing the RanoreXPath generation.
I've sent you a mail containing the plug in and a pre configured file for your use case which filters out your dynamic instance names.
If someone have a similiar problem with dynamic properties in the RanoreXPath, please write a short email to support_(at)ranorex.com and we can help to setting up a filter for your use case.