Within the WATiR distribution there are a number of examples as well
as an extensive unit test directory.

If you look in the unit tests for WinHelper ... it will show you what
you are after.

Basically, you need to create a Thread that runs WinHelper and use
it's logon method ( which provides it with the title of the window to
watch and the username & password to use in the dialog )...

Then in a separate thread actuall cause your IE object to go to the URL .

It's pretty simple and as I said there is an example of this within
the WATiR unit tests.

The code isn't hard to follow.

j.

On 8/8/05, Juan Pablo Mattenet <[EMAIL PROTECTED]> wrote:
> 
> 
> Hi,
> 
>   I'm new to watir and ruby, and I'm having the following issue:
> 
> The application under test uses HTTP basic authetification for the login.
> 
> This causes IE to put up a dialog box requesting the user and password.
> 
> And I don't know how to manipulate this particular window from Watir
>  
> 
> a search in the maillist has returned this post:
> 
> http://rubyforge.org/pipermail/wtr-general/2005-March/001081.html
> 
> Is this the current way (using WinClicker)?
> 
> Where I can download the WinClicker?
> 
> Regards,
> 
> JP  
> _______________________________________________
> Wtr-general mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-general
> 
> 
> 


-- 
"So long, and thanks for all the fish"

Jeff Wood

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to