[Webtest] Form submission problem to validate login
Anusha
webtest@lists.canoo.com
Wed, 3 Aug 2005 16:17:07 +0800
This is a multi-part message in MIME format.
------=_NextPart_000_000B_01C59846.CB03E550
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi!
I am testing for valid / invalid login. But I don't use submit button on =
my html coding. I am using and anchor tag which will call the java =
scrtip function: formSubmit to handle the login processing. My html =
code is :
<TD colspan=3D"3" align=3D"center"><IMG =
src=3D"../../images/link_arrow_white.gif" width=3D"16" height=3D"16" =
border=3D"0"><A onMouseOver=3D"this.style.cursor=3D'hand'"><FONT =
color=3D"#ff0000" face=3D"Verdana" size=3D"+1" =
onClick=3D"formSubmit();"> Enter</FONT></A></TD>
So how should I adjust this cannoo tag:
<clickLink
label =3D "Enter"
description=3D"Click the Enter"
/>
At the moment I have it as the above. I can't get it to validate the =
login page. Pls tell me how should i adjust it to use the link
Thanks.
Regards,
Anusha
------=_NextPart_000_000B_01C59846.CB03E550
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.2800.1505" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am testing for valid / invalid login. =
But I don't=20
use submit button on my html coding. I am using and anchor tag =
which will=20
call the java scrtip function: formSubmit to handle the login =
processing.=20
My html code is :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>
<P><TD colspan=3D"3" align=3D"center"><IMG=20
src=3D"../../images/link_arrow_white.gif" width=3D"16" height=3D"16"=20
border=3D"0"><A =
onMouseOver=3D"this.style.cursor=3D'hand'"><FONT=20
color=3D"#ff0000" face=3D"Verdana" size=3D"+1"=20
onClick=3D"formSubmit();">&nbsp;Enter</FONT></A></T=
D></P>
<P><FONT face=3DArial></FONT> </P>
<P><FONT face=3DArial>So how should I adjust this cannoo tag:</FONT></P>
<P><FONT face=3DArial><clickLink<BR>label =3D =
"Enter"<BR>description=3D"Click the=20
Enter"<BR>/></FONT></P>
<P><FONT face=3DArial>At the moment I have it as the above. I can't get =
it to=20
validate the login page. Pls tell me how should i adjust it to use the=20
link</FONT></P>
<P><FONT face=3DArial></FONT> </P>
<P><FONT face=3DArial>Thanks.</FONT></P>
<P><FONT face=3DArial></FONT> </P>
<P><FONT face=3DArial>Regards,</FONT></P>
<P><FONT face=3DArial>Anusha</FONT></P>
<P><FONT face=3DArial></FONT></P></FONT></DIV></BODY></HTML>
------=_NextPart_000_000B_01C59846.CB03E550--