Difference between revisions of "Object Image Position"

From SAP Enable Now Wiki
(Created page with "==Scope== * '''Simulation''' project > '''Input Text (macro)''' > '''Documentation''' > '''Object Image Position''' macro * '''Simulation''' project > '''Radio/...")
 
Line 1: Line 1:
 
==Scope==
 
==Scope==
* '''[[Simulation]]''' project > '''[[Input Text  (macro)]]''' > '''Documentation''' > '''Object Image Position''' macro
+
* '''[[Simulation]]''' content object > '''[[Input Text  (macro)]]''' macro > '''Documentation''' > '''Object Image Position''' property
* '''[[Simulation]]''' project > '''[[Radio/Checkbox]]''' > '''Documentation''' > '''Object Image Position''' macro
+
* '''[[Simulation]]''' content object > '''[[Radio/Checkbox]]''' macro > '''Documentation''' > '''Object Image Position''' property
* '''[[Simulation]]''' project > '''[[Select Single]]''' > '''Documentation''' > '''Object Image Position''' macro
+
* '''[[Simulation]]''' content object > '''[[Select Single]]''' macro > '''Documentation''' > '''Object Image Position''' property
  
 
==Purpose==
 
==Purpose==

Revision as of 19:30, 12 August 2019

Scope

Purpose

This property specifies the position on the cropped screen image (defined by the Screen macro's Screenshot Position / Size property) at which the Screenshot should be positioned. This position is specified as X,Y coordinates - but specified as the position on the full screenshot (as contained in the Screen macro's Page property), and not on the cropped screen image.

In the generated documents, the (cropped) screen image shows the field in the application as it appears after the action has been completed, but the actual screen image (contained in the Page property) on which the cropped screen image is based shows the field before the action has been completed. Showing the 'after' screen is possible because during recording SAP Enable Now captures a small image of the field after the action has been performed, and then stores this in the Screenshot property. When the document is generated, SAP Enable Now places this image on top of the (cropped) screenshot at the position specified in the Object Image Position property.