Yeap thats OK!!

So I have a solution:

just add some additional char on end of each value in array (like ; )

an = answers.to_s.gsub(";","\n")

 ie.textfield(:name, "multiChoiceAnswers").set an

Thx for your help :)

On Jun 8, 2:00 pm, Željko Filipin <>
> And what happens if you do this?
> ie.textfield(:name, "multiChoiceAnswers").set "Answer1\nAnswer2\nAnswer3"
> Željko
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to
Before posting, please read the following guidelines:
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to