Hi!
During automation of flash application I have encountered with problem of identifying elements: red rectangles (that highlight borders of element) are shifted relative to the controls displayed in UI.
When the elements are large enough, it is not so critical, because identified area is only slightly shifted from real, and it is still possible to hit necessary item; but for small objects difference is very big, and identified area is entirely wrong.
You can see this on the screenshot in the attached file.
It is common situation for IE, Chrome and Firefox browsers.
Could please let me know how to get rid of such issue?
Regards,
Oksana.
Identified Flash Elements are Shifted
Identified Flash Elements are Shifted
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Identified Flash Elements are Shifted
Hello,
Which Ranorex version are you using?
Which Technology (e.g. Flash/Flex) are you using in your application?
Please take a look at our 'General Troubleshooting' page in our User Guide.
Could you please post a Snapshot of your application in order to analyze this issue?
Please take a look at section 'Creating Ranorex Snapshot Files' in our User Guide.
Thanks in advance.
Regards,
Markus (T)
Which Ranorex version are you using?
Which Technology (e.g. Flash/Flex) are you using in your application?
Please take a look at our 'General Troubleshooting' page in our User Guide.
Could you please post a Snapshot of your application in order to analyze this issue?
Please take a look at section 'Creating Ranorex Snapshot Files' in our User Guide.
Thanks in advance.
Regards,
Markus (T)
Re: Identified Flash Elements are Shifted
Ranorex Studio Version is 4.0.1.21107
Testing application uses Flash technology.
Snapshot is attached.
Regards,
Oksana.
Testing application uses Flash technology.
Snapshot is attached.
Regards,
Oksana.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Identified Flash Elements are Shifted
Hello,
Please post the Snapshot of your application (it wasn't attached to your previous post).
Thank you.
Regards,
Markus (T)
Please post the Snapshot of your application (it wasn't attached to your previous post).
Thank you.
Regards,
Markus (T)
Re: Identified Flash Elements are Shifted
Snapshot
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Identified Flash Elements are Shifted
Hello,
Thank you for your snapshot.
Unfortunately, the 'Remember Me' object is not a 'Checkbox' control (looks like a shape).
Therefore, it's not possible to use this object for test automation.
The cause for your issue 'wrong geometry of objects in your application' is unknown.
It looks like incorrect settings in your application.
Is it possible to get the source code for the login page of your application in order to assist you in this case?
Thanks in advance.
Regards,
Markus (T)
Thank you for your snapshot.
Unfortunately, the 'Remember Me' object is not a 'Checkbox' control (looks like a shape).
Therefore, it's not possible to use this object for test automation.
The cause for your issue 'wrong geometry of objects in your application' is unknown.
It looks like incorrect settings in your application.
Is it possible to get the source code for the login page of your application in order to assist you in this case?
Thanks in advance.
Regards,
Markus (T)
Re: Identified Flash Elements are Shifted
Hello!
I have an update about this issue:
When "Ranorex Automation 4.0.1.21107" add-on is disabled in Firefox browser, then flash elements are identified at proper positions without any shift. But in this case structure of elements is wrong: almost all elements are displayed in the tree view on the same level of indentation.
For Chrome browser, when Ranorex plugin is disabled, it is not possible to identify any of flash elements at all.
So, are there some issues with "Ranorex Automation 4.0.1.21107" add-on or it requires someting in order to work well?
Sincerely,
Oksana.
I have an update about this issue:
When "Ranorex Automation 4.0.1.21107" add-on is disabled in Firefox browser, then flash elements are identified at proper positions without any shift. But in this case structure of elements is wrong: almost all elements are displayed in the tree view on the same level of indentation.
For Chrome browser, when Ranorex plugin is disabled, it is not possible to identify any of flash elements at all.
So, are there some issues with "Ranorex Automation 4.0.1.21107" add-on or it requires someting in order to work well?
Sincerely,
Oksana.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Identified Flash Elements are Shifted
Hello,
Unfortunately, we could not provide a solution for this issue.
Is it possible to get the source code for the login page of your application in order to assist you in this case?
If not is it possible to get a sample application?
Regards,
Markus (T)
Unfortunately, we could not provide a solution for this issue.
Is it possible to get the source code for the login page of your application in order to assist you in this case?
If not is it possible to get a sample application?
Regards,
Markus (T)
Re: Identified Flash Elements are Shifted
Hello,
Please, see the attached file.
Sincerely,
Oksana.
Please, see the attached file.
Sincerely,
Oksana.
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Identified Flash Elements are Shifted
Hello,
Thank you for your files.
Currently, we are working on a fix for this issue.
As a workaround, could you please replace our 'Preloader for Flash/Flex' as shown in the steps below?
- Close Ranorex Studio
- Please open the path 'C:\Program Files (x86)\Ranorex 4.0\Bin' in Windows Explorer.
- Rename the 'RanorexAutomation.swf' into 'RanorexAutomation.swf.backup'.
- Copy the file 'RanorexAutomation.swf' from the attached 'RxPreloader.zip' file into this folder.
- Open Spy and track elements of your application.
Please let us know if it works.
Thank you in advance.
Regards,
Markus (T)
Thank you for your files.
Currently, we are working on a fix for this issue.
As a workaround, could you please replace our 'Preloader for Flash/Flex' as shown in the steps below?
- Close Ranorex Studio
- Please open the path 'C:\Program Files (x86)\Ranorex 4.0\Bin' in Windows Explorer.
- Rename the 'RanorexAutomation.swf' into 'RanorexAutomation.swf.backup'.
- Copy the file 'RanorexAutomation.swf' from the attached 'RxPreloader.zip' file into this folder.
- Open Spy and track elements of your application.
Please let us know if it works.
Thank you in advance.
Regards,
Markus (T)
You do not have the required permissions to view the files attached to this post.
Re: Identified Flash Elements are Shifted
Thanks!
This workaround works.
This workaround works.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Identified Flash Elements are Shifted
Hello,
You are welcome
Regards,
Markus (T)
You are welcome

Regards,
Markus (T)