[Webtest] Setting an InputField with a "property" (previously valorized by a <storeInputFieldAttribute> task) ?

Dierk Koenig webtest@lists.canoo.com
Fri, 16 Jun 2006 18:11:30 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_006D_01C69170.4B154E50
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

 value="#{original-url}"

cheers
Mittie
  -----Original Message-----
  From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of manouche groovy
  Sent: Freitag, 16. Juni 2006 16:59
  To: webtest@lists.canoo.com
  Subject: [Webtest] Setting an InputField with a "property" (previously
valorized by a <storeInputFieldAttribute> task) ?


  Hi everybody,

  I would like to valorize an Input Field (inside a FORM) with the value of
a (webtest) "property".
  This property has been previously setted by a <storeInputFieldAttribute>
task :

         [...]
         <storeInputFieldAttribute propertyname="original-url"
name="presentationAddress" attributename="value" fieldindex="0"/>
         <verifyProperty description="Verifying inital value of URL"
property="original-url" value="https://owatest.realsentry.com/exchange"/>
         [...]
         [... webtests modifying the value of the Input Field...]
         [...]
         <setInputField description="Valorize with stored value"
name="presentationAddress" .... (here: HOW TO ADRESS "original-url" property
? ) />

  There's no attribute such as "propertyName" in <setInputField  task !
  How to do this ?

  Thanks in advance
  Best regards.

------=_NextPart_000_006D_01C69170.4B154E50
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2873" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D659421016-16062006><FONT face=3DArial color=3D#0000ff =

size=3D2>&nbsp;value=3D"#{original-url}"</FONT></SPAN></DIV>
<DIV><SPAN class=3D659421016-16062006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D659421016-16062006><FONT face=3DArial color=3D#0000ff =

size=3D2>cheers</FONT></SPAN></DIV>
<DIV><SPAN class=3D659421016-16062006><FONT face=3DArial color=3D#0000ff =

size=3D2>Mittie</FONT></SPAN></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]<B>On=20
  Behalf Of </B>manouche groovy<BR><B>Sent:</B> Freitag, 16. Juni 2006=20
  16:59<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> =
[Webtest]=20
  Setting an InputField with a "property" (previously valorized by a=20
  &lt;storeInputFieldAttribute&gt; task) ?<BR><BR></FONT></DIV>Hi=20
  everybody,<BR><BR>I would like to valorize an Input Field (inside a =
FORM) with=20
  the value of a (webtest) "property".<BR>This property has been =
previously=20
  setted by a &lt;storeInputFieldAttribute&gt; task :<BR><BR><FONT =
size=3D1><SPAN=20
  style=3D"FONT-FAMILY: courier new,monospace">&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
  [...]</SPAN><BR style=3D"FONT-FAMILY: courier new,monospace"><SPAN=20
  style=3D"FONT-FAMILY: courier =
new,monospace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;storeInputFieldAttribute propertyname=3D"original-url"=20
  name=3D"presentationAddress" attributename=3D"value" =
fieldindex=3D"0"/&gt;</SPAN><BR=20
  style=3D"FONT-FAMILY: courier new,monospace"><SPAN=20
  style=3D"FONT-FAMILY: courier new,monospace">&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
  &lt;verifyProperty description=3D"Verifying inital value of URL"=20
  property=3D"original-url" value=3D"<A=20
  =
href=3D"https://owatest.realsentry.com/exchange">https://owatest.realsent=
ry.com/exchange</A>"/&gt;<BR></SPAN></FONT><FONT=20
  size=3D1><SPAN style=3D"FONT-FAMILY: courier =
new,monospace">&nbsp;&nbsp;=20
  &nbsp;&nbsp;&nbsp; [...]</SPAN></FONT><BR=20
  style=3D"FONT-FAMILY: courier new,monospace"><FONT size=3D1><SPAN=20
  style=3D"FONT-FAMILY: courier new,monospace"></SPAN><SPAN=20
  style=3D"FONT-FAMILY: courier new,monospace">&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
  [... webtests modifying the value of the Input=20
  Field...]<BR></SPAN></FONT><FONT size=3D1><SPAN=20
  style=3D"FONT-FAMILY: courier new,monospace">&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
  [...]</SPAN></FONT><BR style=3D"FONT-FAMILY: courier =
new,monospace"><FONT=20
  size=3D1><SPAN style=3D"FONT-FAMILY: courier =
new,monospace"></SPAN><SPAN=20
  style=3D"FONT-FAMILY: courier =
new,monospace">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;setInputField description=3D"Valorize with stored value"=20
  name=3D"presentationAddress" .... <SPAN style=3D"FONT-WEIGHT: =
bold">(here: HOW TO=20
  ADRESS "</SPAN></SPAN></FONT><FONT style=3D"FONT-WEIGHT: bold" =
size=3D1><SPAN=20
  style=3D"FONT-FAMILY: courier new,monospace">original-url" property=20
  ?</SPAN></FONT><FONT size=3D1> <SPAN=20
  style=3D"FONT-FAMILY: courier new,monospace"><SPAN=20
  style=3D"FONT-WEIGHT: bold">)</SPAN> /&gt;</SPAN><BR=20
  style=3D"FONT-FAMILY: courier new,monospace"></FONT><BR>There's no =
attribute=20
  such as "propertyName" in &lt;setInputField&nbsp; task !<BR>How to do =
this=20
  ?<BR><BR>Thanks in advance<BR>Best =
regards.<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_006D_01C69170.4B154E50--