Hello All,

I continued digging and found the solution:

http://wiki.openqa.org/display/WTR/Basic+Authentication


require "watir"
require 'watir/ie'


Watir::Browser.default='ie'
browser=Watir::Browser.new
url = "http://www.someplace.com";

Thread.new{
      sleep(1)      # put appropriate sleep time
                        Watir.autoit.WinWait('Connect to ')
                        Watir.autoit.Send('myusername')
                        Watir.autoit.Send('{TAB}')
                        Watir.autoit.Send('mypassword')
                        Watir.autoit.Send('{ENTER}')
}
browser.goto(url)


This was added since I last studied this page.

Darryl



On Sep 25, 8:30 pm, "Darryl (gem dandy) Brown" <d-l-
[email protected]> wrote:
> Our test team is facing an interesting challenge with a popup. The web
> server that we are testing has a password
> protected mode wherein when the url is accessed, there is an immediate
> login popup. There is no opportunity to use a "click_no_wait" as there
> are no buttons to click - the first thing that appears is the popup.
>
> It's like we need a "ie.goto 'test_site'.no_wait" command.
>
> Thanks in advance for any insight on this.
>
> Darryl
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to