Yeap thats OK!!

So I have a solution:

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

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

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

Thx for your help :)

On Jun 8, 2:00 pm, Željko Filipin <zeljko.fili...@wa-research.ch>
wrote:
> 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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to