Hi all,
I am struggling to detect an error window in ie. The window title is
"Message from webpage."
So far I have used the functions:
popup = Watir::IE.attach(:title,'Message from webpage')
and
popup = Watir::IE.attach(:title,/message/)
I then tried:
Watir::IE.each do |window|
puts window.title
end
Which only displayed the main page itself and not the pop up window.
Does anyone know how to set focus/attach to the error window?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]