Thanks Marc,

'
' helps :-). I should have better read the fine manual first 
http://www.w3.org/MarkUp/html-spec/html-spec_13.html

Cheers,
Michael


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Marc Guillemot
Sent: Dienstag, 31. März 2009 12:50
To: [email protected]
Subject: Re: [Webtest] text in input field with line break

Hi Michael,

did you try something like this:

<setInputField name="field expecting 2 lines">
first line…
second line
</setInputField>

Otherwise I imagine that following could work too
<setInputField name="field expecting 2 lines" value="first
line&#010;second line"/>

Cheers,
Marc.
--
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com


Michael Zwick wrote:
> 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
>




_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to