Forum: Ruby unable to login in authentication window

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Parikshit B. (Guest)
on 2009-04-16 10:15
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
This topic is locked and can not be replied to.