Object Image
Scope
- Simulation content object > action macro > Object Image property
Purpose
This property contains the image of the screen element Control with which the user interacts. This is automatically populated during recording for Mouse Action macros, but is typically not captured for other 'action' macros (as, for example, for an Input Text macro it would likely be blank). By default, this image is captured from the portion of the Screen within the Action Area, and if you adjust the Action Area on the Step View then the Object Image will automatically be updated to match.
Interestingly, this image is overlaid onto the screenshot (Page property) during simulation playback - although this is not obvious as it is generally exactly the same as the underlying image.
The contents of this property can be inserted into the Demo Text or Practice Text via the $I{fieldicon} Placeholder.
The Replace Image button on the right of the Object Image property provides access to the following functions:
- Replace with screenshot of Window: Capture an entire screen and use that
- Replace with screenshot of Object: Capture an object (that you click on) from the screen
- Replace with screenshot of Area: Capture an area of the screen (that you select)
- Replace with Image from File
- Replace with Image from Workarea
- Crop Image: You can crop down, but you cannot increase the area of the Screen used as the Object Image
- External Editor: Launch your default image editor and edit the image
- Select External Editor: Select the image editor to use by default