Page 1 of 1

Mouse Click in Ranorex

Posted: Thu May 10, 2018 8:33 pm
by oualiSAI
Hi,

Is there a way to move mouse until an element exists?. In my application i need to move a geographique until i reach in a specific position.

Thank you.

Re: Mouse Click in Ranorex

Posted: Fri May 11, 2018 8:31 am
by odklizec
Hi,

I'm afraid, I'm not quite sure what exactly you want to achieve? Could you please elaborate what exactly you want to do (maybe with some screenshots)? Thanks.

Re: Mouse Click in Ranorex

Posted: Fri May 11, 2018 9:16 am
by oualiSAI
I want to move a map with the icon hand,

1) mouse down in the map
2) move to a specific position
3) move up

so what i'm looking for is if there is a way to for example: move mouse right until a item exists (apear).

the map is a set of items, for each movement of the map we have a new item, and I can not move to the new item directly because it does not exist yet, we must first make the move to have the new item.

Example:

from item1 move mouse right until item2 exist

Re: Mouse Click in Ranorex

Posted: Fri May 11, 2018 9:53 am
by odklizec
Unfortunately, I still don't see how do you want instruct Ranorex to move to a non-existing position? Mouse Down/Mouse Up are easy to do, even without coding. You just have to instruct Ranorex (most probably via coding) to move to desired position. Unfortunately, it's hard/impossible to tell how to do this, without seeing your app or at very least Ranorex snapshot of the map. If there are anchors in the map (visible for Ranorex), then it should be possible to instruct Ranorex to perform "Move" action to these points? Unfortunately, it's hard to tell without seeing your app.