ranorex clicking top left of screen

Experiences, small talk, and other automation gossip.
Posts: 3
Joined: Thu Jan 21, 2016 1:43 pm

ranorex clicking top left of screen

Post by lakiphala » Tue Feb 09, 2016 3:21 pm

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

User avatar
Ranorex Guru
Ranorex Guru
Posts: 7469
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: ranorex clicking top left of screen

Post by odklizec » Wed Feb 10, 2016 12:17 pm


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 Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration