[Wtr-general] unable to use Click_no_wait on buttons inside a frame.
Alan Ark
arkie at compli.com
Mon Oct 2 17:53:01 EDT 2006
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í | HYPERLINK "mailto:arkie at compli.com"arkie at compli.com | office: 503.294.2020 | fax: 503.294.1200 | HYPERLINK "http://www.compli.com/"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/20061002/ad8155d9/attachment.html
More information about the Wtr-general
mailing list