I tried the normal Create>Get Text>From Object/Window, but the weird thing is that when I click the alert message, Winrunner adds set_window on the browser before web_obj_get_text. If I delete that line (so now the focus is on the actual alert window) and manually add the text object to the GUI Map, it still doesn't work. The variable that stores the message is always empty.
I should be able to do this, because when I use the GUI Spy and I click the message text in the alert window I can actually see the text that I want to capture.
Thanks in advance.
Hi. I got it. Thanks anyway.