Hi,
 
Anybody can advise what's a WET addon?
Thanks.
 
Regards,
Fred
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Shubha R
Sent: Friday, August 12, 2005 11:06 AM
To: [email protected]
Subject: Re: [Wtr-general] Dismiss Security Alert Window

I use the WET addon and that has been able to handle
almost any window 
 
 
Larry Bolef <[EMAIL PROTECTED]> wrote:
Apologies in advance for a rank newbie question. I've
skimmed the mailing list and noticed various references to
this problem, but nothing that helped me.

I'm using Ruby 1.8.2-15 and Watir v1.4 on Windows XP. I'm
testing a website that triggers a "Security Alert" window.
I'd like to dismiss (automatically click on the Yes button)
this window.

I've tried the code below, but hang on IE.start, so the
clickWindowsButton never gets a chance to dismiss the
window.

Is there another way to dismiss the Windows security alert
window?

require 'watir'
require 'watir\winClicker.rb'
include Watir
w = WinClicker.new
ie=Watir::IE.start('http://xxxx')
w.clickWindowsButton("Security Alert" , "&Yes" )
ie.text_field(:name, "username").set("username")
ie.text_field(:name, "password").set("password")
ie.button(:name, "Action").click
ie.close




____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs

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


Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to