Sounds like the popup (displayed as soon as your browser navigates to
your url) is blocking your script and the autoit code never gets a
chance to execute.  You might try putting your IE.start call in a
separate thread, as shown on a few examples in the basic auth wiki
page.

Thanks
Bill


On Thu, Feb 19, 2009 at 1:17 AM, jam <ruby.wa...@gmail.com> wrote:
>
> Hi,
>
> When I start ( $ie=Watir::IE.start("my_url") ) the application iam
> getting an authentication popup. Iam using the following code below
> but the popup remains idle.The same code is working when i get
> authentication popup after i  get into the application.
>
>
> Watir.autoit.WinWait('Connect to ')
> Watir.autoit.Send('username')
> Watir.autoit.Send('{TAB}')
> Watir.autoit.Send('password')
> Watir.autoit.Send('{ENTER}')
>
> Note: I had referred http://wiki.openqa.org/display/WTR/Basic+Authentication
>
> Thanks,
> jam
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to