Difference between revisions of "Object Image Position"

From SAP Enable Now Wiki
Line 5: Line 5:
  
 
==Purpose==
 
==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.
+
This property specifies the position on the cropped screen image (defined by the '''[[Screen (Simulation macro)|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 (Simulation macro)|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.
 
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.
  
 
[[Category:Property]]
 
[[Category:Property]]

Revision as of 22:04, 15 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.