Hi,
I am using WET to handle alert windows.I am able to dismiss the alert window by clicking on the ' OK' button using
def_ok()
$ie.Button("value:=Submit").click_without_blocking()
$ie.Dialog("title:=Microsoft Internet Explorer").Button("text:=OK").click
$ie.Dialog("title:=Microsoft Internet Explorer").Button("text:=OK").click
end
But I want to retrieve the text in the alert window and verify if the right alert message is displayed.
For Eg:An alert window saying 'Do You really want to do this".How do I get the text? How can I use Label(*args) method to do this?
Thanks,
Amitha
Enjoy this Diwali with Y! India Click here
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
