Page 1 of 1

ranorex clicking top left of screen

Posted: Tue Feb 09, 2016 3:21 pm
by lakiphala
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

Posted: Wed Feb 10, 2016 12:17 pm
by odklizec
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].