Please explain in detail

Continuing the discussion from Get Clipping Postion from an element and set clipping Position of Click Activity:

This will be used when there is no reliable selector for clicking or selecting particular element.
In this case first find the relative element co-ordinates and then use Offset to click or do some action w.r.t the relative element.

For example, you want to click on image.
But you do not find any reliable selector.
If there is some element before the image. You will find the coordinates for that element and use offset coordinates to click on that image.

Regards,
Karthik Byggari

How to find that Offset coordinates

You have to use trial and error method.

You have to enter offsetX and OffsetY values.
Like OffsetX = 10, OffsetY = 0 - it means horizontal displacement to the right by 10 pixels
If OffsetX = -10, OffsetY = 0 - it means horizontal displacement to the left by 10 pixels

  • CursorPosition.OffsetX - Horizontal displacement of the cursor position according to the option selected in the Position field.
  • CursorPosition.OffsetY - Vertical displacement of the cursor position according to the option selected in the Position field.
  • CursorPosition.Position - Describes the starting point of the cursor to which offsets from OffsetX and OffsetY properties are added. The following options are available: TopLeft, TopRight, BottomLeft, BottomRight and Center. The default option is Center.

Regards,
Karthik Byggari