Hi, I face a problem with putting answers in textarea in new lines
ex: I have a textarea: <textarea name="multiChoiceAnswers" rows="5" style="width:100%" align="left" > I would like to put into that textarea answers in each line: [Answer1] [Answer2] [Answer3] When I create an array with answers: answers = [] answers = "[answer1],[answer2],[answer3]" then: ie.textfield(:name, "multiChoiceAnswers").set(answers.each do |item| puts item end) I get the fallowing error: ArgumentError: comparison of String with 128 failed from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ input_elements .rb:381:in `>' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ input_elements .rb:381:in `characters_in' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ input_elements .rb:368:in `type_by_character' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ input_elements .rb:334:in `set' Can any one advise? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---