Iain; I think this is what you are talking about, and it sounds like something I've seen. This isn't much consolation for now (hopefully something better will appear for this with Bret's work on popups), but I have also had problems in the past with the Security Window when testing an app without a security certificate installed. It would work on Win2K, but not XP. To workaround it (and since end users don't see that window because a production system has proper security certificates), I installed a certificate on my test machine.
Now that Bret has commited some new changes, I'd recommend trying those out to see if they work. If you've been having problems in the past, you'd be an excellent test candidate. :) -Jonathan > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Iain > Sent: August 5, 2005 4:02 PM > To: [email protected] > Subject: RE: [Wtr-general] Problem with WindowLogonExample.rb > > Hello again, > > I've been trying and trying to get this to work but am still > having no joy. > > I've been working around this problem for the last few months > but it's really limiting what I can achieve with the tool. > > Can anyone one please help with an idiot proof guide to > getting this to work? I see this question has been added to > the faq so I assume it's is common problem. > > I'm positive that autoit is installed because around half the > unit tests in the jscript_test.rb unit test seem to work and > that test is not throwing an error. > > All that happens is that the security dialog appears and the > test hangs indefinately. > > Can anyone please explain how to do this and what each step > in the process is doing? > > Thanks > > Iain > > > > -----Original Message----- > From: Paul Rogers [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 10, 2005 6:51 PM > To: [email protected] > Subject: RE: [Wtr-general] Problem with WindowLogonExample.rb > > > > Here it is. I think I used a program called 7za to zip it, > but it obviously > didn't work quite right! > The new release will have the windowshelper that you need > > Paul > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Iain > Sent: 10 May 2005 19:15 > To: [email protected] > Subject: RE: [Wtr-general] Problem with WindowLogonExample.rb > > > Paul, > > This zip file apears to be corrupt. Would you mind reposting? > > Also, I notice that version 1.3.1 was released today. Does > this release > include the updated WindowHelper.rb file you refered to below? > > Thanks > > Iain > > -----Original Message----- > From: Paul Rogers [mailto:[EMAIL PROTECTED] > Sent: Saturday, May 07, 2005 5:15 PM > To: [email protected] > Subject: RE: [Wtr-general] Problem with WindowLogonExample.rb > > Iain, > > Here is a zip that contains some ruby files that will clear > the security > alert for you. You'll also need to get the latest code from > cvs, especially > the WindowHelper.rb file > > In future versions of watir we hope to have this code a bit > clearer and > easier to use > > Paul > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Iain > Sent: 06 May 2005 15:54 > To: [email protected] > Subject: [Wtr-general] Problem with WindowLogonExample.rb > > > > Hi Guys, > > Firstly, let me say thanks for the tool and the new release. I've been > eagerly waiting for the new functionality and can't wait to > get started with > it. I've never programmed before but in the last month, > through using your > tool, I've learnt the basics of Ruby and am amazed by the > results I've been > getting. > > Up until now there's only been a few things I've wanted to do > with Watir but > haven't yet been able to. > > 1. Enter the network login information when accessing my test site. > > 2. Accepting Security Certificate warnings in Security Alert popups. > > > I understand that both these issues have been addressed by > the new build. > I'm trying to figure out how to do this so have gone to the > Watir API and > the sample unit tests to try and find some similar code but > I'm having some > problems getting them to work. > > 1.) Unfortunately the WindowLogonExample.rb unit test isn't > working for me. > The clio.lyris.com login prompt appears but nothing else > happens. Is anyone > else having this problem? > > > 2.) I couldn't find any working examples for Security Alerts > but in the API > I can see the clearSecurityAlertBox method in the WinClicker class. > I've tried to following > > $ie = IE.new > $ie.goto($Z_Login) > > w = WinClicker.new > w.clearSecurityAlertBox() > > The security alert appears immediately after I navigate to > Login URL of my > test site but like before nothing happens. If I abort the > test I get the > following output: > > getWindowHandle - looking for: Security Alert Found window: > CiceroUIWndFrame Caption =TF_FloatingLangBar_WndTitle Found window: > CiceroUIWndFrame Caption =CiceroUIWndFrame Found window: > tooltips_class32 Caption = Found window: WorkerW Caption = > Found window: > tooltips_class32 Caption = Found window: tooltips_class32 > Caption = Found > window: Shell_TrayWnd Caption = Found > window: Auto-Suggest Dropdown Caption = > Found window: > Caption = > Found window: tooltips_class32 > Caption = > Found window: UltraMon Taskbar > Caption = > Found window: tooltips_class32 > Caption = > Found window: OfficeTooltip > Caption =Align Left > Found window: tooltips_class32 > Caption = > Found window: Auto-Suggest Dropdown > Caption = > Found window: Auto-Suggest Dropdown > Caption = > Found window: tooltips_class32 > Caption = > Found window: Auto-Suggest Dropdown > Caption = > Found window: SysFader > Caption =SysFader > Found window: MozillaDropShadowWindowClass Caption = Found window: > MozillaDropShadowWindowClass Caption = Found window: > MozillaDropShadowWindowClass Caption = Found window: > MozillaDropShadowWindowClass Caption = Found window: > MozillaDropShadowWindowClass Caption = Found window: > MozillaDropShadowWindowClass Caption = Found window: > MozillaDropShadowWindowClass Caption = Found window: > Trillian: List Tooltip > Entry Caption =Trillian: List Tooltip Entry Found window: > BaseBar Caption = Found window: tooltips_class32 Caption = > Found window: > BaseBar Caption = > >Exit code: -1073741510 > >ruby login.rb > >Exit code: -1073741510 > > > Can anyone help? > > Many thanks > > Iain > > _______________________________________________ > 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 > > _______________________________________________ > 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
