Difference between revisions of "Object Image"

From SAP Enable Now Wiki
(Created page with "==Scope== * '''Simulation''' project > ''action'' macro > '''Object Image''' property ==Purpose== This property contains the image of the screen element Control w...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Scope==
 
==Scope==
* '''[[Simulation]]''' project > ''action'' macro > '''[[Object Image]]''' property
+
* '''[[Simulation]]''' content object > ''action'' macro > '''[[Object Image]]''' property
  
 
==Purpose==
 
==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)|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 ''[[WYSIWYG Editor]]'' then the '''[[Object Image]]''' will automatically be updated to match.
+
This property contains the image of the screen element [[Control]] with which the user interacts. This is automatically populated during recording for '''[[Mouse Action (Simulation macro)|Mouse Action]]''' macros, but is typically not captured for other 'action' macros (as, for example, for an '''[[Input Text (macro)|Input Text]]''' macro it would likely be blank). By default, this image is captured from the portion of the '''[[Screen (Simulation macro)|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 <tt>$I{fieldicon}</tt> [[Placeholder]].
 
The contents of this property can be inserted into the [[Demo Text]] or [[Practice Text]] via the <tt>$I{fieldicon}</tt> [[Placeholder]].
Line 13: Line 15:
 
* '''Replace with Image from File'''
 
* '''Replace with Image from File'''
 
* '''Replace with Image from Workarea'''
 
* '''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]]'''
+
* '''Crop Image''': You can crop ''down'', but you cannot increase the area of the [[Screen (Simulation macro)|Screen]] used as the '''[[Object Image]]'''
 
* '''External Editor''': Launch your default image editor and edit the image
 
* '''External Editor''': Launch your default image editor and edit the image
 
* '''Select External Editor''': Select the image editor to use by default
 
* '''Select External Editor''': Select the image editor to use by default
  
 
[[Category:Property]]
 
[[Category:Property]]

Latest revision as of 19:29, 26 April 2021

Scope

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