Every object displayed on the screen can be located by its position (x/y coordinates). The user can get the coordinates of a particular object in TestArchitect.
When a user captures an object (control, window, etc.) with the Interface Viewer, the objects are located by the left, top, width, and height properties. As a result, the user could get the coordinates of the object by using the “get control property” and “get window property” actions.
Refer to the below example for more details.
- The position of “login” window and “login” button on desktop:
- Test script:
- After test is completed, we have the result below: