Instead of text_area, try: @browser.text_field(:id =>
'username').set('xxxxx')Regards Azher On Fri, Oct 4, 2013 at 12:28 AM, Will Robinson < [email protected]> wrote: > I'm working on writing tests to work with a browser application that we > have. When I try to enter login information into the text field with the id > 'username', I get back the following error:* NoMethodError: undefined > method `text_area'.* > > The *browser.text_field.enabled?* returned true. So it is there and the > name of the element is 'username' > > Everything else that I have tried seems to fail. Does anyone have ideas? > > Thanks > > Will > > -- > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "Watir General" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
