[Wtr-general] unable to use Click_no_wait on buttons inside a frame.
Cain, Mark
Mark_Cain at RL.gov
Tue Oct 3 10:14:32 EDT 2006
This (I believe) was fixed 1095. You can download the latest gem at:
http://wiki.openqa.org/display/WTR/Development+Builds
--Mark
________________________________
From: wtr-general-bounces at rubyforge.org [mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Alan Ark
Sent: Monday, October 02, 2006 2:53 PM
To: wtr-general at 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í | arkie at compli.com | office: 503.294.2020 | fax: 503.294.1200 | www.compli.com <http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061003/a29342b4/attachment.html
More information about the Wtr-general
mailing list