It will allow only if "@browser.text_field,(ld"...")" object supports multi
line property.


thanks,
smf

On Thu, Oct 29, 2009 at 2:47 PM, yuping zhong <littlezhong...@gmail.com>wrote:

>
> Hi,
>
> Fill some info in the textarea,I use "\n" to turn to a newline. But it
> doesn't work.
>
> Such as:
>
> @browser.text_field,(ld"...").set("Hello,\nHappy new year")
>
> But it still fill as: Hello,Happy new year
>
> I want to be:
>
> Hello,
> Happy new year
>
>
>
> Any idea of that?
>
> Thanks.
>
> -Zhong
> >
>

--~--~---------~--~----~------------~-------~--~----~
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