Hi,thanks Angrez,
Should be :@browser.text_field,(ld"...").set("Hello,\nHappy new year")
On Fri, Jan 22, 2010 at 1:03 PM, Yuping Zhong <[email protected]>wrote:
>
>
> On Thu, Oct 29, 2009 at 7:35 PM, Angrez Singh <[email protected]> wrote:
>
>> try this:
>>
>> @browser.text_field,(ld"...").set("Hello,\\nHappy new year")
>>
>> - Angrez
>>
>> On Thu, Oct 29, 2009 at 2:47 PM, yuping zhong
>> <[email protected]>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 [email protected]
>> Before posting, please read the following guidelines:
>> http://wiki.openqa.org/display/WTR/Support
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/watir-general
>> -~----------~----~----~----~------~----~------~--~---
>>
>>
>
--
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general