AW: [Webtest] How to use setcheckbox correctly?

webtest@lists.canoo.com webtest@lists.canoo.com
Wed, 5 Feb 2003 13:59:11 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------=_NextPartTM-000-8313cab5-84f3-4fbc-8416-dd94faca808a
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C2CD16.60DE6F40"

------_=_NextPart_001_01C2CD16.60DE6F40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Kuno,
=20
So, I guess I'll have to duplicate my testSpec scripts to be able to =
handle
both cases.
=20
Many thanks for your answer.
=20
Robert

-----Urspr=FCngliche Nachricht-----
Von: Ammann Kuno [mailto:Kuno.Ammann@comit.ch]
Gesendet: Mittwoch, 5. Februar 2003 13:39
An: webtest@lists.canoo.com
Betreff: [Webtest] How to use setcheckbox correctly?


hi robert
=20
as fare as i know it is not possible to set a checkbox to false. it =
tried
that once to and failed with the same error message 'Could not remove
parameter from request'.=20
i think you need to check whether your attribute is true in advance and =
only
in this case you can use the setcheckbox method. (by default the a =
checkbox
is not part of a request and therefore not set.)
=20
how to use a method under conditions is not clear to me at the moment. =
but i
think it's maybe standard ant syntax, i am not using in details.
=20
kuno


------_=_NextPart_001_01C2CD16.60DE6F40
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=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 5.00.3502.5390" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D253325512-05022003>Hi=20
Kuno,</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D253325512-05022003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D253325512-05022003>So, I=20
guess&nbsp;I'll&nbsp;have to duplicate my testSpec scripts to be able =
to handle=20
both cases.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D253325512-05022003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D253325512-05022003><FONT=20
color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D253325512-05022003>Many thanks for=20
your answer.</SPAN></FONT></SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D253325512-05022003>Robert</SPAN></FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; =
MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
  size=3D2>-----Urspr=FCngliche Nachricht-----<BR><B>Von:</B> Ammann =
Kuno=20
  [mailto:Kuno.Ammann@comit.ch]<BR><B>Gesendet:</B> Mittwoch, 5. =
Februar 2003=20
  13:39<BR><B>An:</B> webtest@lists.canoo.com<BR><B>Betreff:</B> =
[Webtest] How=20
  to use setcheckbox correctly?<BR><BR></DIV></FONT>
  <DIV><SPAN class=3D455533212-05022003><FONT face=3DArial size=3D2>hi=20
  robert</FONT></SPAN></DIV>
  <DIV><SPAN class=3D455533212-05022003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D455533212-05022003><FONT face=3DArial size=3D2>as =
fare as i know=20
  it is not possible to set a checkbox to false. it tried that once to =
and=20
  failed with the same error message '</FONT><FONT face=3DArial><FONT =
size=3D2>Could=20
  not remove parameter from request<SPAN class=3D455533212-05022003>'.=20
  </SPAN></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D455533212-05022003><FONT face=3DArial><FONT =
size=3D2><SPAN=20
  class=3D455533212-05022003>i think you need to check whether your =
attribute is=20
  true in advance and only in this case you can use the setcheckbox =
method. (by=20
  default the a checkbox is not part of a request and therefore not=20
  set.)</SPAN></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D455533212-05022003><FONT face=3DArial><FONT =
size=3D2><SPAN=20
  class=3D455533212-05022003></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D455533212-05022003><FONT face=3DArial><FONT =
size=3D2><SPAN=20
  class=3D455533212-05022003>how to use a method under conditions is =
not clear to=20
  me at the moment. but i think it's maybe standard ant syntax, i am =
not using=20
  in details.</SPAN></FONT></FONT></SPAN></DIV>
  <DIV><SPAN class=3D455533212-05022003><FONT face=3DArial><FONT =
size=3D2><SPAN=20
  class=3D455533212-05022003></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D455533212-05022003><FONT face=3DArial><FONT =
size=3D2><SPAN=20
  =
class=3D455533212-05022003>kuno</SPAN></FONT></FONT></SPAN></DIV></BLOCK=
QUOTE></BODY></HTML>

------_=_NextPart_001_01C2CD16.60DE6F40--

------=_NextPartTM-000-8313cab5-84f3-4fbc-8416-dd94faca808a--