[wtr-general] Re: Getting an error saying undefined method `length' when trying to use date in a text field.

2009-08-04 Thread moorecats
it was passed, which is why you're getting that error. You might try something like: ie.text_field(:name,q).set #{today} -Dylan On Aug 3, 10:18 am, moorecats suh...@gmail.com wrote: I am new to Watir/Ruby. Sorry about this noob question - I am trying to use the date in a text field. Using my

[wtr-general] Getting an error saying undefined method `length' when trying to use date in a text field.

2009-08-03 Thread moorecats
I am new to Watir/Ruby. Sorry about this noob question - I am trying to use the date in a text field. Using my script (pasted below). I get the error - I am not sure what I am doing wrong in this case. Any help would be greatly appreciated.