In my test I have a link at the top of a page that I used Ranorex Recording to record clicking the link. However, when I run the test Ranorex scrolls down slightly right before clicking the link and therefore misses the link every time. It continues the test as though the link was successfully clicked, but is no longer on the correct page.
I have tried fixing this by writing my own code and using the EnsureVisible() function, but the same problem happens. Has anyone else come across a similar issue?
This happens in both IE and Chrome browsers. Mysteriously, I have a similar issue on a different test case that runs perfectly fine as a stand-alone case, but starts mysteriously scrolling as soon as I run it alongside other test cases.
Object Click Missed in Browser
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Object Click Missed in Browser
Hello jawang35,
Please try to disable the „EnsureVisible“-function for that specific element before performing the click.
The setting can be found within the properties of the web element. Regards,
Robert
Please try to disable the „EnsureVisible“-function for that specific element before performing the click.
The setting can be found within the properties of the web element. Regards,
Robert
You do not have the required permissions to view the files attached to this post.
Re: Object Click Missed in Browser
That worked perfectly! Thanks!