Forum Discussion

nazz's avatar
nazz
Occasional Contributor
12 years ago

how to get the text from the alert message (Windows based application)

how to get the text of the alert message, my application is windows based (on the site I can find for web based but same examples are not helpfull for the windows based)

2 Replies

  • gid_216's avatar
    gid_216
    Frequent Contributor
    Dear Nazz,



    As these are standard window alert boxes, you can spy the alert and add it to name mapping as an object map.



    From the property "WndCaption" of that object you can able to get the message.