There are definately problems with the IE functions text_field, button, etc
I have had to change my scripts to not use Regexes in these functions
in order to keep them working in 1.5.x =[
Below, actually did set the text_field. However, it then threw this error, and
crashed IE
irb(main):047:0> ie.text_fields.each {|x| puts x }
type: text
id: NewPage
name: NewPage
value: 1
disabled: false
length: 2
max length: 2147483647
read only: false
=> 0
irb(main):048:0> ie.text_field(:name, /new/i).set('5')
NoMethodError: undefined method `fireEvent' for nil:NilClass
from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1065/./watir.rb:3837:in
`set'
from (irb):48
from ♥:0
irb(main):049:0>
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3607&messageID=10226#10226
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general