I run some preliminary commands in irb and pop up the modal dialog
successfully; but when I try and exercise the dialog it won't work.
irb(main):009:0 @modal = @ie.modal_dialog(:title, 'Batch Update')
Watir::Exception::NoMatchingWindowFoundException: Modal Dialog with
title Batch
Update not
I run some preliminary commands in irb and pop up the modal dialog
successfully; but when I try and exercise the dialog it won't work.
irb(main):009:0 @modal = @ie.modal_dialog(:title, 'Batch Update')
Watir::Exception::NoMatchingWindowFoundException: Modal Dialog with
title Batch
Update not
I run some preliminary commands in irb and pop up the modal dialog
successfully; but when I try and exercise the dialog it won't work.
irb(main):009:0 @modal = @ie.modal_dialog(:title, 'Batch Update')
Watir::Exception::NoMatchingWindowFoundException: Modal Dialog with
title Batch
Update not
When I try my code out in irb I have no issues with the method calls
in the following code
while @ie.modal_dialog.exists? == false
sleep 1
end
@ie.modal_dialog.button(:value,'Yes').click_no_wait
but when I run this code in my application I get these errors
IE#modal_dialog not supported
I did a little research on this issue. There does appear to be a bug
using this code with IE8 -- the title changed from Web Page Dialog to
Webpage Dialog and the Watir code has not been updated to handle this.
However, rereading your original post makes me think you are using IE7.
Can you
Thanks Ravindran for ur reply
Hi zakir ,
I have tried even Autoit. It is handling the popup even it appears but
not continuing with the remaining code.
I want my rudbu script to search for the specified popup if it exists.
If it exists handle it and then continue with the remaining code. If
Or you can try using a Watir recorder, here is a one
http://itest2.com/downloads#recorder
Nigel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to