Skip to Content

How to Inspect Alert Message in Personas

Feb 13 at 01:19 PM


avatar image

I would like to inspect the message that gets generated at the bottom in SAP Screen Personas. PFB the image that shows the message I want to inspect.

Had it been a regular message (highlighted in yellow) like below

which is generated without having any pop up windows open, I am able to select it using the inspector.

But since this has two pop up windows in front of it, looks like the inspector is not able to select it. Is there any work around for this? I need to extract the messageNumber so I can write a code using that value.

message3.jpg (136.2 kB)
message1.jpg (77.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Tamas Hoznek
Feb 13 at 04:46 PM

Those popup windows should be wnd[1] and wnd[2], respectively... so you should be able to access wnd[0]/sbar and use its properties in your script to get the message number.

10 |10000 characters needed characters left characters exceeded