[wtr-general] Re: Modal Dialog Boxes and FireWatir

2010-05-14 Thread Betsy
Hi Angrez, I already had the 1.6.5 version of FireWatir. ruby -e 'require firewatir; puts FireWatir::Firefox::VERSION' returned me 1.6.5 on the command prompt. On executing the script, it provided an error:- comments.rb:13: undefined method `modal_dialog' for #FireWatir::Firefox:0x351603c url=

[wtr-general] Re: Modal Dialog Boxes and FireWatir

2010-05-14 Thread Betsy
Though the script did perform the intended actions on the modal dialog box, it also returned the below error:- c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ firefox.rb:319:in `close': undefined method `' for nil:NilClass (NoMethodError) from comments.rb:16 -Betsy Joy. On

[wtr-general] Re: Modal Dialog Boxes and FireWatir

2010-05-14 Thread Betsy
That should be good... So when are we looking at the next release? BTW what about the error:- c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ firefox.rb:319:in `close': undefined method `' for nil:NilClass (NoMethodError) from comments.rb:16 ??? -Betsy Joy On May 14,

Re: [wtr-general] Re: Modal Dialog Boxes and FireWatir

2010-05-12 Thread Angrez Singh
Found the solution to this. Working on getting it to FireWatir. May take day or two. Thanks for your patience. Regards, Angrez On Thu, Apr 29, 2010 at 7:07 AM, Lonny Eachus lon...@gmail.com wrote: I have had some success dealing with the modal download window in Firefox on the Mac, using

[wtr-general] Re: Modal Dialog Boxes and FireWatir

2010-05-12 Thread Betsy
Tht's gr8 news!! -betsy joy On May 12, 5:02 pm, Angrez Singh ang...@gmail.com wrote: Found the solution to this. Working on getting it to FireWatir. May take day or two. Thanks for your patience. Regards, Angrez On Thu, Apr 29, 2010 at 7:07 AM, Lonny Eachus lon...@gmail.com wrote:

Re: [wtr-general] Re: Modal Dialog Boxes and FireWatir

2010-04-28 Thread Angrez Singh
Busy with office work. Will surely come with a solution .. patience is the key - Angrez On 4/27/10, Betsy joybe...@gmail.com wrote: Still waiting for a way out!!! :( -Betsy Joy On Apr 26, 4:06 pm, Betsy joybe...@gmail.com wrote: Hi Angrez, The Function code that generates the modal

[wtr-general] Re: Modal Dialog Boxes and FireWatir

2010-04-28 Thread Betsy
Thanks for responding... Shall surely wait for the Solution... :) -Betsy Joy. On Apr 28, 12:17 pm, Angrez Singh ang...@gmail.com wrote: Busy with office work. Will surely come with a solution .. patience is the key - Angrez On 4/27/10, Betsy joybe...@gmail.com wrote: Still waiting

[wtr-general] Re: Modal Dialog Boxes and FireWatir

2010-04-28 Thread Super Kevy
Credits to Wilson Wu and Scott Hanselman Basically you need to run a thread in firefox for the popups. Notice in main a normal click method, not a click_no_wait is used. def threaded_check_for_popups(sTitleMatch) puts 'threaded_check_for_popups' autoit=WIN32OLE.new('AutoITX3.Control')

[wtr-general] Re: Modal Dialog Boxes and FireWatir

2010-04-28 Thread Lonny Eachus
I have had some success dealing with the modal download window in Firefox on the Mac, using AppleScript. It was designed specifically for that, and so is not very generic at the moment. But if anyone is interested I could work on it a little more to make it more general- purpose, and submit it

[wtr-general] Re: Modal Dialog Boxes and FireWatir

2010-04-27 Thread Betsy
Still waiting for a way out!!! :( -Betsy Joy On Apr 26, 4:06 pm, Betsy joybe...@gmail.com wrote: Hi Angrez, The Function code that generates the modal dialog box is as below:- function putComments()         {                 var val=;                 // it does not allow to close the

[wtr-general] Re: Modal Dialog Boxes and FireWatir

2010-04-26 Thread Betsy
Hi Angrez, The Function code that generates the modal dialog box is as below:- function putComments() { var val=; // it does not allow to close the window until comment is entered while(val== || val==null) {