Watir general question

hi everyone

it was really difficult to find a watir forum at all, so i hope i can
find some help in here anyway.

is there a way of veryfying that an IE spawned browser window exists?

from what i can gather on the watir and ruby pages, they only cater for
dialogs.

basically on logging into my app, it then spawns a second ie instance,
this can be attached to by using the following:

$ie = Watir::IE.attach(:title, 'System Navigator')

but is there a way i can check whether this exists before i attach to
it?

any help would be very much required?

i was thinking along the lines of

$ie.window(:title, 'System Navigator').exists -> but obviously there is
no window control.

thanks in advance.

···

--
Posted via http://www.ruby-forum.com/.

$ie = Watir:IE.find(:title, 'System Navigator')

it will be nil if there is no such window.

···

On Feb 7, 11:42 am, Brad Symons <sno...@hotmail.com> wrote:

$ie =Watir::IE.attach(:title, 'System Navigator')

but is there a way i can check whether this exists before i attach to
it?