Hi

i am not able to close the java script popup windows using watir.

require 'watir'
require 'win32ole'

  ie = Watir::IE.new
  @user = 'username'
  @pass = 'password'
  @url = 'internal site'
  @login_title = "Connect to "
  ie.goto(@url)

Watir.autoit.WinWait('Connect to ')
Watir.autoit.Send(@user)
Watir.autoit.Send('{TAB}')
Watir.autoit.Send(@pass)
Watir.autoit.Send('{ENTER}')


it opens the authentication window.. but does not enters username and
password.

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