Skip to Content
avatar image
Former Member

How to Inspect Alert Message in Personas

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 13, 2018 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.

    Add comment
    10|10000 characters needed characters exceeded