Ranorex 9.1.2
Coordinate and Pixel recording modes, allow setting the action point from the top left corner of the element.
I'd like to use the action spot to mouse click a certain number of pixels or a proportion from the bottom of the element, i.e. NOT from the top. Is that possible?
Thanks
Action Spot from bottom of element?
Re: Action Spot from bottom of element?
Hi,
Could you please explain, in more details, what exactly you want to achieve?
Generally speaking, coordinates are always entered from top/left corner. You can either use some predefined action spots (LowerCenter|Left|Right) or you can enter pixel coordinates, but always starting from left-top corner of given element. If you want something specific, you may need to calculate the exact pixel-based coordinates in user code and pass them to action spot via variable.
Could you please explain, in more details, what exactly you want to achieve?
Generally speaking, coordinates are always entered from top/left corner. You can either use some predefined action spots (LowerCenter|Left|Right) or you can enter pixel coordinates, but always starting from left-top corner of given element. If you want something specific, you may need to calculate the exact pixel-based coordinates in user code and pass them to action spot via variable.
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
-
- Certified Professional
- Posts: 344
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Action Spot from bottom of element?
Thanks for that suggestion odklizec, I will give that some thought to see if it will work for my requirements.calculate the exact pixel-based coordinates in user code and pass them to action spot via variable