Offset references used to adjust the target point (X,Y) of an action.
Namespace: ArtOfTest.Common
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
TopLeftCorner | 0 | The reference is the top left corner of the target. | |
BottomLeftCorner | 1 | The reference is the bottom left corner of the target. | |
TopRightCorner | 2 | The reference is the top right corner of the target. | |
BottomRightCorner | 3 | The reference is the bottom right corner of the target. | |
TopCenter | 4 | The reference is the center point of the top edge of the target. | |
RightCenter | 5 | The reference is the center point of the right edge of the target. | |
LeftCenter | 6 | The reference is the center point of the left edge of the target. | |
BottomCenter | 7 | The reference is the center point of the bottom edge of the target. | |
AbsoluteCenter | 8 | The reference is the absolute center of the target. |
Examples
Given a Rectangle target, the reference points are as follows:
TopLeft TopCenter TopRight
X***********X***********X
* *
* *
LeftCenter X X X RightCenter
* AbsoluteCenter *
* *
X***********X***********X
BottomLeft BottomCenter BottomRight
See Also