cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Resizing pop-ups when recorded as Active Window instead of Region

0 Kudos
415

We've run in to a few instances where folks recorded in SAP GUI using Active Window instead of a Region, and thus captured pop-ups as the Active Window when triggered within a given process (lost the context that what's being played back is a pop-up, because it plays in full-screen with no background of the rest of GUI). This is leading to the pop-ups playing back in full-screen size, and/or distorting and cutting off bubbles and text. I'm trying to come up with some solutions to "shrink" these pop-ups, as re-recording is not an option right now.

Does anyone have any ideas? Is there a way to shrink the screen that was recorded, and put it "on top of" a blue background, or "on top of" an image of the GUI screen that would have been visible behind it had it not been recorded as Active Window? Open to other suggestions or ideas... Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

DirkManuel
Active Contributor

Well, you can always use the Replace Image > External Editor option and edit it. The default editor is Paint which isn't great for anything other than minor touch-ups, but if you have a better image editor, that might have some options. For example, in Snagit Editor, you could resize the image, then resize the canvas back to the original size and fill in the background blue. The trick would be resizing by the correct amount, as the scale is likely to be different in every case.

If it was me, I'd get the Authors to re-record, but failing that:

  1. Open the (incorrectly-sized) dialog box screenshot in the Image Editor.
  2. Select All (CTRL+A) then copy (CTRL+C)
  3. Exit without saving, and cancel the image edit in Enable Now.
  4. Go to the 'last good full-sized image (i.e. the preceding step) in the simulation, and open this in the Image Editor (if you don't have one, you can SnagIt just this screen from the application).
  5. Paste (CTRL+V) the pop-up image from (2) and resize it (on top of the full-sized image) - assuming your image editor supports layers - else resize it before you copy it in Step 2, but it will be easier to gauge the correct size once it is overlaid on the full screen image.
  6. Select all and copy again (capturing the full screen with the resized dialog box on top of it)
  7. Exit without saving, and cancel the image edit in Enable Now.
  8. Go back to the Screen with the dialog box, and select Replace Image > Replace with image from Clipboard.
  9. Save, Exit, and confirm in Enable Now

HTH, Dirk

Answers (0)