Difference between revisions of "Position and Size"
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Scope== | ==Scope== | ||
− | * '''[[Simulation]]''' content object > '''[[Mouse Action]]''' macro > '''Control''' > '''Position and Size''' property | + | * '''[[Simulation]]''' content object > '''[[Mouse Action (Simulation macro)|Mouse Action]]''' macro > '''Control''' > '''Position and Size''' property |
* '''[[Simulation]]''' content object > '''[[Input Text (macro)|Input Text]]''' macro > '''Control''' > '''Position and Size''' property | * '''[[Simulation]]''' content object > '''[[Input Text (macro)|Input Text]]''' macro > '''Control''' > '''Position and Size''' property | ||
==Purpose== | ==Purpose== | ||
− | The '''Position and Size''' property identifies the location of the screen element on the application screen with which the user interacts (this is usually referred to as the ''Action Area''). This is captured automatically during recording, and is typically indicated by the red dotted rectangle on the screenshot in the [[Step View]] - although for a 'click here' action (where a specific screen element was not identified during recording), the click position is identified by a solid (4px) circle and the '''Position and Size''' property will be in the format "x,y,'''0,0'''" | + | The '''Position and Size''' property identifies the location of the screen element on the application screen with which the user interacts (this is usually referred to as the ''Action Area''). This is captured automatically during recording, and is typically indicated by the red dotted rectangle on the screenshot in the ''[[Step View]]'' - although for a 'click here' action (where a specific screen element was not identified during recording), the click position is identified by a solid (4px) circle and the '''Position and Size''' property will be in the format "x,y,'''0,0'''" |
− | You can change the '''Position and Size''' property either by dragging the Action Area' (or its boundary handles) in the [[Step View]], or by changing the property field (either by over-typing the coordinates, or by clicking on the ''' | + | You can change the '''Position and Size''' property either by dragging the Action Area' (or its boundary handles) in the ''[[Step View]]'', or by changing the property field (either by over-typing the coordinates, or by clicking on the '''Edit''' button and changing the '''Left''', '''Top''', '''Width''', and '''Height''' values - see the explanation in [[Position (Bubble property)]]). However, it is important to note that the Action Area shown in the ''[[Step View]]'' is used for: |
* The '''[[Object Image]]''' | * The '''[[Object Image]]''' | ||
* The '''Documentation''' > '''[[Highlight Position / Size]]''' | * The '''Documentation''' > '''[[Highlight Position / Size]]''' | ||
* The '''Control''' > '''[[Position and Size]]''' | * The '''Control''' > '''[[Position and Size]]''' | ||
− | If you change the Action Area in the [[Step View]] then you will change all three of these things (and they will all be reset to the same values, even if they had previously been changed individually). If you only want to change the '''Control''' > '''[[Position and Size]]''' then you should do this by changing the '''[[Position and Size]]''' property field itself. | + | If you change the Action Area in the ''[[Step View]]'' then you will change all three of these things (and they will all be reset to the same values, even if they had previously been changed individually). If you only want to change the '''Control''' > '''[[Position and Size]]''' then you should do this by changing the '''[[Position and Size]]''' property field itself. |
[[Category:Property]] | [[Category:Property]] |
Latest revision as of 18:29, 26 April 2021
Scope
- Simulation content object > Mouse Action macro > Control > Position and Size property
- Simulation content object > Input Text macro > Control > Position and Size property
Purpose
The Position and Size property identifies the location of the screen element on the application screen with which the user interacts (this is usually referred to as the Action Area). This is captured automatically during recording, and is typically indicated by the red dotted rectangle on the screenshot in the Step View - although for a 'click here' action (where a specific screen element was not identified during recording), the click position is identified by a solid (4px) circle and the Position and Size property will be in the format "x,y,0,0"
You can change the Position and Size property either by dragging the Action Area' (or its boundary handles) in the Step View, or by changing the property field (either by over-typing the coordinates, or by clicking on the Edit button and changing the Left, Top, Width, and Height values - see the explanation in Position (Bubble property)). However, it is important to note that the Action Area shown in the Step View is used for:
- The Object Image
- The Documentation > Highlight Position / Size
- The Control > Position and Size
If you change the Action Area in the Step View then you will change all three of these things (and they will all be reset to the same values, even if they had previously been changed individually). If you only want to change the Control > Position and Size then you should do this by changing the Position and Size property field itself.