HI Charley,

I had tried the method that you have specified and re-tried it after your post 
again.

This is the message that comes up when I try to use it :

>ruby nn.rb

c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.2/./watir.rb:2775:in `initialize': 
IE#modal_dialog not supported with the current version of Ruby (1.8.6). 
(NoMethodError)
See http://jira.openqa.org/browse/WTR-2 for details.
undefined method `connect_unknown' for WIN32OLE:Class        from 
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.2/./watir.rb:335:in `new'
          from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.2/./watir.rb:335:in 
`modal_dialog'
          from nn.rb:12

>Exit code: 1

So if you have this the connect_unknown' method for your Win32Ole ,can you 
please share it with us as well.. I know there's a little bit of tweak required 
with the connect method but still if you can share it would be brilliant.

Thanks
Rohan Ojha


________________________________
From: [email protected] [mailto:[email protected]] On 
Behalf Of Charley Baker
Sent: Tuesday, February 09, 2010 9:22 PM
To: [email protected]
Subject: Re: [wtr-general] Help with Modal Dialog boxes !!!!

It's a modal dialog alright.

puts ie.modal_dialog.html
puts ie.modal_dialog.title

etc etc

Works fine for us with latest Watir and Ruby 186. I've made sure that it does 
work for each revision of Watir, including recompiling our custom win32ole.so 
since we have apps that use it fairly extensively - up to 8 modals deep at 
times. :\

-Charley
Lead Developer, Watir

On Tue, Feb 9, 2010 at 5:49 AM, Željko Filipin 
<[email protected]<mailto:[email protected]>> wrote:
On Tue, Feb 9, 2010 at 1:46 PM, Rohan Premvallabh Ojha 
<[email protected]<mailto:[email protected]>> wrote:
> Also the title of the window just gives it away....doesn't it ?
Pop ups are black magic for me. I have been lucky so far and never had to deal 
with them, except for file uploads which work just fine.

Željko

--
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]<mailto:[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]<mailto:watir-general%[email protected]>
For more options, visit this group at 
http://groups.google.com/group/watir-general

--
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

-- 
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