Kevin, You are not going to get any further until you supply a username and password. You cannot simply wait it out. You will have to attach the popup, enter a username and password and click the button to continue.
Jim Matthews ----- Original Message ----- From: "Kevin Scott" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, April 04, 2007 5:12 PM Subject: [Wtr-general] Accessing a web page when a server request for username/password appears? > Hello, > > I am running into an issue where I am attempting to go to a web page but > cannot proceed due to a standard IE window (I believe this is a standard > IE window). > > test_site = 'http://my_test_site.com' > ie = Watir::IE.new > ie.goto(test_site) > > A popup window appears when I attempt ie.goto(test_site) - The popup > window is asking me for a username/password in order to access the web > page. I have attached the standard language below: > > +The server <servername> requires a username and password.+ > > +Warning: This server is requesting that your username and password be > sent in an insecure manner (basic authentication without a secure > connection).+ > > It seems no matter what I try, I cannot get pass the line - > ie.goto(test_site). I looked at using a timeout and could not get past the > line - ie.goto(test_site). > > Any direction on how to proceed would be apprecipated. > > Thanks, > > Kevin > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
