Try looking at where the radio methods are defined in watir, that
should give you a clue.
In input_elements.rb, the declaration of Radio functions look like
this:
Module Watir
class Radio RadioCheckCommon
def myMethod
puts this is my method
end
end
end
-Dylan
On
Thanks - I noticed the Radio class is in input_elements.rb and tried
the structure you suggested before my original post:
module Watir
class Radio RadioCheckCommon
def myMethod
puts this is my method
end
end
end
But this just generates another error:
uninitialized
Try adding require 'watir/ie' after your require 'watir' line
-Dylan
On Aug 11, 2:03 am, John Kolokotronis johnj...@gmail.com wrote:
Thanks - I noticed the Radio class is in input_elements.rb and tried
the structure you suggested before my original post:
module Watir
class Radio
You need to show us more code. E.g. what method is giving you this
error? Also send us the backtrace.
Bret
On Aug 11, 2:56 am, John Kolokotronis johnj...@gmail.com wrote:
Hi All,
I thought my understanding of Ruby classes was getting a bit better
but I can't seem to add a new method to