OffsetReference Enumeration

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
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

public enum OffsetReference
Members

  Member nameValueDescription
TopLeftCorner0 The reference is the top left corner of the target.
BottomLeftCorner1 The reference is the bottom left corner of the target.
TopRightCorner2 The reference is the top right corner of the target.
BottomRightCorner3 The reference is the bottom right corner of the target.
TopCenter4 The reference is the center point of the top edge of the target.
RightCenter5 The reference is the center point of the right edge of the target.
LeftCenter6 The reference is the center point of the left edge of the target.
BottomCenter7 The reference is the center point of the bottom edge of the target.
AbsoluteCenter8 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

Reference