This (I believe) was fixed 1095.  You can download the latest gem at:

http://wiki.openqa.org/display/WTR/Development+Builds

 

--Mark

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Ark
Sent: Monday, October 02, 2006 2:53 PM
To: wtr-general@rubyforge.org
Subject: [Wtr-general] unable to use Click_no_wait on buttons inside a frame.

 

Hi folks.

 

Using

Ruby v. 1.8.5

Watir v. 1.5.1.1081

Windows XP pro.

 

 

Attaching my browser to “C:\ruby\lib\ruby\gems\1.8\gems\watir-1.5.1.1081\unittests\html\frame_buttons.html”

 

I am having trouble using click_no_wait on buttons inside a frame.

 

Inside irb:

irb(main):019:0> ie.frame("buttonFrame").button(:name,"b1").click

=> nil  

irb(main):020:0> ie.frame("buttonFrame").button(:name,"b1").click_no_wait

NoMethodError: undefined method `to_identifier' for nil:NilClass

        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1081/./Watir.rb:1250:in `to_identifier'

        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1081/./Watir.rb:1231:in `eval_in_spawned_process'

        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1081/./Watir.rb:2515:in `click_no_wait'

        from (irb):20

        from :0

 

 

While I consider myself a Ruby user, I am certainly not a Ruby programmer, but I’m trying to learn a little more about it.

 

I’m looking for ideas on what can I do to workaround/patch this problem.

 

Thanks

-Alan

 


Alan Ark | Lead QA Engineer | Complí [EMAIL PROTECTED] | office: 503.294.2020 | fax: 503.294.1200 | www.compli.com

 


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.9/458 - Release Date: 9/27/2006

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to