ranorex clicking top left of screen
ranorex clicking top left of screen
when i run my test case my cursor is supposed to click on three drop down menus but it only moves to the top left of my screen clicks then moves a bit and clicks again then results will be successful
Re: ranorex clicking top left of screen
Hi,
This kind of problem usually happens if the element is found by Ranorex, but it's not entirely ready yet (typically in web-based apps) at a time of mouse click. Eventually, the element is found, but outside the visible area.
In case of first cause (element not ready yet), it may help to add a small delay before clicking the element. In case of second cause, it may help to use EnsureVisible method before firing the click element.
It's hard to track down the real cause of the issue without seeing the problem in realtime. Could you please upload a sample app and Ranorex test project? If there is an error reported, Ranorex report would be helpful too. If you cannot post the sample app publicly at this forum, send it to Ranorex support at [email protected].
This kind of problem usually happens if the element is found by Ranorex, but it's not entirely ready yet (typically in web-based apps) at a time of mouse click. Eventually, the element is found, but outside the visible area.
In case of first cause (element not ready yet), it may help to add a small delay before clicking the element. In case of second cause, it may help to use EnsureVisible method before firing the click element.
It's hard to track down the real cause of the issue without seeing the problem in realtime. Could you please upload a sample app and Ranorex test project? If there is an error reported, Ranorex report would be helpful too. If you cannot post the sample app publicly at this forum, send it to Ranorex support at [email protected].
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration