[Webtest] <WebTest> Question about tag selectForm

Philippe Imoucha webtest@lists.canoo.com
Wed, 31 May 2006 17:15:25 +0200


This is a multi part MIME message.

--_NextPart_1_qmZrHLajoetbkwlTZTViemHPfyb
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I have the feeling that the TAG selectForm doesn't handle correctly the XHTM=
L tag attribute ID for the tag FORM.

In my applications pages are written in XHTML So XHTML tags FORM use only th=
e attribute id and not the attribute name No attribute is available to allow=
 us to select a form via ITS ID.

<form id=3D"form_OK" class=3D"generalForm" action=3D"jfn" method=3D"get">
=09<span class=3D"button">
=09	<input class=3D"submit" type=3D"submit" value=3D"OK"/>
=09</span>
</form>

When trying to access this form with the webtest syntax I get an error sayin=
g that my form has not been found.
I have other form in this page so I need to identify precisely this form
<selectForm name=3D"form_OK"/>

We do not want to add any unuseful attribute like NAME on tag FORM
We do not want to access this form with the index because the overall page c=
ould contains other form and I am not sure if the form I am intersted in is =
position 1 or 2.

What do you propose to work around?


Phil
______________________________________________
Philippe Imoucha, VP Products, Product Group
49-51, rue Ganneron - 75018 PARIS - France
+33 (0) 1 74 30 74 03 (direct)=20
+33 (0) 6 11 48 35 34 (mobile)=20
______________________________________________
Netonomy, Inc.
+33 (0) 1 74 30 74 31 (fax)=20
www.netonomy.com <BLOCKED::www.netonomy.com>=20
______________________________________________
"Empowering your customers through self-service"


----------------
The information contained in this electronic message and any attachments to =
this message are intended for the exclusive use of the addressee(s) and may =
contain confidential or privileged information.  Messages are susceptible to=
 alteration. Netonomy shall not be liable for the message if altered, change=
d or falsified. If you are not the intended recipient, or the person respons=
ible for delivering the e-mail to the intended recipient, be advised you hav=
e received this message in error and that any use, dissemination, forwarding=
, printing, or copying is strictly prohibited.  Please notify the sender imm=
ediately and destroy all copies of this message and any attachments.=20

--_NextPart_1_qmZrHLajoetbkwlTZTViemHPfyb
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-1=
">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 6.5.7233.28">
<TITLE>&lt;WebTest&gt; Question about tag selectForm</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Courier New">I have the feeling that the TAG selec=
tForm doesn't handle correctly the XHTML tag attribute ID for the tag FORM.<=
/FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">In my applications pages are written =
in XHTML So XHTML tags FORM use only the attribute id and not the attribute =
name No attribute is available to allow us to select a form via ITS ID.</FON=
T></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">&lt;form id=3D&quot;form_OK&quot; cla=
ss=3D&quot;generalForm&quot; action=3D&quot;jfn&quot; method=3D&quot;get&quo=
t;&gt;</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 FACE=3D"Courie=
r New">&lt;span class=3D&quot;button&quot;&gt;</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; <FONT SIZE=3D2 FACE=3D"Courier New">&lt;input class=3D&quot;su=
bmit&quot; type=3D&quot;submit&quot; value=3D&quot;OK&quot;/&gt;</FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 FACE=3D"Courie=
r New">&lt;/span&gt;</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">&lt;/form&gt;</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">When trying to access this form with =
the webtest syntax I get an error saying that my form has not been found.</F=
ONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">I have other form in this page so I =
need to identify precisely this form</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">&lt;selectForm name=3D&quot;form_OK&=
quot;/&gt;</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">We do not want to add any unuseful at=
tribute like NAME on tag FORM</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">We do not want to access this form w=
ith the index because the overall page could contains other form and I am no=
t sure if the form I am intersted in is position 1 or 2.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">What do you propose to work around?</=
FONT>
</P>
<BR>

<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">Phil</FONT>

<BR><B><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial Black">_______________=
_______________________________</FONT></B>

<BR><B><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial Black">Philippe Imouch=
a</FONT><SPAN LANG=3D"fr"><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial Bla=
ck">,</FONT></SPAN><SPAN LANG=3D"en-us"> <FONT COLOR=3D"#808080" SIZE=3D2 FA=
CE=3D"Arial Black">VP Products, Product Group</FONT></SPAN></B><SPAN LANG=3D=
"en-us"></SPAN>

<BR><SPAN LANG=3D"en-us"><B><FONT COLOR=3D"#C0C0C0" SIZE=3D2 FACE=3D"Tahoma"=
>49-51, rue Ganneron - 75018 PARIS - France<BR>
+33=A0(0) 1 74 30 74 03 (direct)<BR>
+33 (0) 6 11 48 35 34=A0(mobile)<BR>
</FONT><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial Black">_______________=
_______________________________</FONT></B></SPAN>

<BR><SPAN LANG=3D"en-us"><B><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial B=
lack">Netonomy, Inc.</FONT></B></SPAN>

<BR><SPAN LANG=3D"en-us"><B><FONT COLOR=3D"#C0C0C0" SIZE=3D2 FACE=3D"Tahoma"=
>+33 (0) 1 74 30 74 31=A0(fax)<BR>
</FONT></B></SPAN><A HREF=3D"BLOCKED::www.netonomy.com"><SPAN LANG=3D"en-us"=
><B><U></U><U></U><U><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">www.net=
onomy.com</FONT></U></B></SPAN></A><SPAN LANG=3D"en-us"><B></B></SPAN>

<BR><SPAN LANG=3D"en-us"><B><FONT COLOR=3D"#808080" SIZE=3D2 FACE=3D"Arial B=
lack">______________________________________________</FONT></B></SPAN>

<BR><SPAN LANG=3D"en-us"><B><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Tahoma"=
>&quot;Empowering your customers through self-service&quot;</FONT></B></SPAN=
>
</P>
<BR>



----------------<br>
The information contained in this electronic message and any attachments to =
this message are intended for the exclusive use of the addressee(s) and may =
contain confidential or privileged information.  Messages are susceptible to=
 alteration. Netonomy shall not be liable for the message if altered, change=
d or falsified. If you are not the intended recipient, or the person respons=
ible for delivering the e-mail to the intended recipient, be advised you hav=
e received this message in error and that any use, dissemination, forwarding=
, printing, or copying is strictly prohibited.  Please notify the sender imm=
ediately and destroy all copies of this message and any attachments. <br>
</body>
</html>

--_NextPart_1_qmZrHLajoetbkwlTZTViemHPfyb--