Hallo World,
I am trying to pass all the buttons which has the same value and different id
to an array. so that I can randomly click on them for testing purpose.
I tried
b = []
ie.button(:value, "Book").each {|id| b << id}
now this gives me an error: undefined method `each' for
#<Watir::Button:0x2e6646c>
I am using watir 1.5.1.100
any help appreciated.
thank you all
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6716&messageID=19315#19315
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general