In a previous release some one else reported errors on radio buttons,
something to do with value. I had never been able to reporuce, but the
latest refactoring from bret has a rescue around the value, so it should
return an empty string. 

What os, browser version are you using?

Paul

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shao Kang Tat
Sent: 29 July 2005 11:48
To: [email protected]
Subject: Re: [Wtr-general] radio button support


Installation now successful, because the message appears, but when I try
to access the radio I still get the same error..though it works for
others who have been replying to this thread *scratches head* 
Below is the installation + script
Could there be anything else wrong?


C:\Documents and Settings\stat\Desktop\WatirTarball\wtr\watir>install.rb
C:\Documents and Settings\stat\Desktop\WatirTarball\wtr\watir\watir.gif
Going to install to C:\watir_bonus\ with startMenu=1 and desktop=1
Copying Files watir.rb -> c:\ruby\lib\ruby\site_ruby\1.8/watir.rb
cp -r watir c:\ruby\lib\ruby\site_ruby\1.8
cp -r examples C:\watir_bonus\
cp -r unitTests C:\watir_bonus\
cp -r doc C:\watir_bonus\
cp -r rdoc C:\watir_bonus\
Creating start menu shortcuts
Creating desktop shortcuts
Installation Completed

C:\Documents and Settings\stat\Desktop\WatirTarball\wtr\watir>irb
irb(main):007:0> require 'watir'
=> true
irb(main):008:0> include Watir
=> Object

irb(main):009:0> ie = IE.attach(:title, //)
=> #<Watir::IE:0x2b5ec60
@error_checkers=[#<Proc:[EMAIL PROTECTED]:/ruby/lib/ruby/sit
e_ruby/1.8/watir.rb:1350>], @logger=#<Watir::DefaultLogger:0x2b5e540
@logdev=#<L ogger::LogDevice:0x2b5dce8 @shift_size=nil, @shift_age=nil,
@filename=nil, @dev= #<IO:0x27be7d0>>, @level=2,
@datetime_format="%d-%b-%Y %H:%M:%S", @progname=nil> ,
@activeObjectHighLightColor="yellow", @enable_spinner=false,
@url_list=[], @de faultSleepTime=0.1, @form=nil, @typingspeed=0.08,
@ie=#<WIN32OLE:0x2b5e990>>


irb(main):010:0> ie.url
=>
"http://radar.klickit.com/cbt/call%20log/new/associate/default.asp?s=1&k
ciRou
te=CreateCallLog&kciStop=AssociateWith&CallLog.CallLogID=92"

irb(main):011:0> ie.radios.each do|r|
irb(main):012:1* puts r
irb(main):013:1> end
WIN32OLERuntimeError: Unknown property or method `value'
    HRESULT error code:0x80020006
      Unknown name.
        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2205:in `invoke'
        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2205:in `value'
        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2232:in
`string_creator'
        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2248:in `to_s'
        from (irb):12:in `puts'
        from (irb):12
        from (irb):11:in `each'
        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2382:in `upto'
        from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2382:in `each'
        from (irb):11
        from :0
irb(main):014:0>

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to