Hi Michael,

I wonder how this is possible in real browsers.

<input> only accepts a single line, but <textarea> can have multiple lines.

Yours,
Ahmed
________________________________
From: Michael Zwick <michael.zw...@genedata.com>
To: "webtest@lists.canoo.com" <webtest@lists.canoo.com>
Sent: Tuesday, March 31, 2009 1:33:25 PM
Subject: [Webtest] text in input field with line break


Hi there,
 
I need to paste text with a mandatory line break into an Input Field (i.e. the 
text must consist of at least two lines after committing or interpretation). Is 
there a way to specify a line break when using “setInputField”?
In other words I’d like to do something like the following, but don’t know how 
to specify ‘line break’:
 
<setInputField description name="field expecting 2 lines"
                                                value="first line… line break
                                                second line"/>
 
Thanks a lot!
Michael


      

Reply via email to