[Webtest] Form submission problem to validate login

Anusha webtest@lists.canoo.com
Wed, 3 Aug 2005 16:47:39 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_001E_01C5984B.0F074130
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi!

I have tried by putting a space before the " Enter" but I the build =
still fails. I get this error:

Test step clickLink (C:\canoo\doc\samples\Login.xml:17: )  named "Enter" =
failed
with message "Link not found in page =
http://192.168.3.199/iteps/bnm/jsp/frmCommo
nSignIn.jsp: label < Enter>, htmlId <null>, href <null>
Known Links in Page are:
label "Enter" with url "" and id "",
"

Please advise me further on how to overcome this problem. Must I enable =
javascript some where??

Thanks

Regards,
Anusha
  ----- Original Message -----=20
  From: Colin O'Brien=20
  To: webtest@gate2.canoo.com=20
  Sent: Wednesday, August 03, 2005 4:33 PM
  Subject: RE: [Webtest] Form submission problem to validate login


  Hi Anusha,

  There appears to be a space before the 'Enter' in your html code =
(&nbsp;Enter), you might want to try to put this space in your canoo tag =
also... like so

  <clickLink
  label =3D " Enter"
  description=3D"Click the Enter"
  />

  Perhaps this might over come the problem...

  Cheers,
  Colin.
    -----Original Message-----
    From: webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Anusha
    Sent: 03 August 2005 09:17
    To: webtest@gate2.canoo.com
    Subject: [Webtest] Form submission problem to validate login


    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();">&nbsp;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_001E_01C5984B.0F074130
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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have tried by putting a space before =
the " Enter"=20
but I the build still fails. I get this error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Test step clickLink=20
(C:\canoo\doc\samples\Login.xml:17: )&nbsp; named "Enter" failed<BR>with =
message=20
"Link not found in page <A=20
href=3D"http://192.168.3.199/iteps/bnm/jsp/frmCommo">http://192.168.3.199=
/iteps/bnm/jsp/frmCommo</A><BR>nSignIn.jsp:=20
label &lt; Enter&gt;, htmlId &lt;null&gt;, href &lt;null&gt;<BR>Known =
Links in=20
Page are:<BR>label "Enter" with url "" and id "",<BR>"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Please advise me further on how to =
overcome this=20
problem. Must I enable javascript some where??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Anusha</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dcolin.obrien@capetechnologies.com=20
  href=3D"mailto:colin.obrien@capetechnologies.com">Colin O'Brien</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dwebtest@gate2.canoo.com=20
  href=3D"mailto:webtest@gate2.canoo.com">webtest@gate2.canoo.com</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, August 03, =
2005 4:33=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Webtest] Form =
submission=20
  problem to validate login</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D420373008-03082005><FONT face=3DArial =
color=3D#0000ff size=3D2>Hi=20
  Anusha,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D420373008-03082005><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D420373008-03082005><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>There appears to be a space before the 'Enter' in your html =
code (<FONT=20
  face=3D"Times New Roman" color=3D#000000>&amp;nbsp;Enter<FONT =
face=3DArial=20
  color=3D#0000ff>)</FONT></FONT>, you might want to try to put this =
space in your=20
  canoo tag also... like so</FONT></SPAN></DIV>
  <DIV><SPAN class=3D420373008-03082005><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D420373008-03082005><FONT face=3DArial=20
  size=3D2>&lt;clickLink<BR>label =3D " Enter"<BR>description=3D"Click =
the=20
  Enter"<BR>/&gt;</FONT></SPAN></DIV>
  <DIV><SPAN class=3D420373008-03082005><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D420373008-03082005><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Perhaps this might over come the =
problem...</FONT></SPAN></DIV>
  <DIV><SPAN class=3D420373008-03082005><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D420373008-03082005><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Cheers,</FONT></SPAN></DIV>
  <DIV><SPAN class=3D420373008-03082005><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Colin.</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
    size=3D2>-----Original Message-----<BR><B>From:</B> <A=20
    =
href=3D"mailto:webtest-admin@lists.canoo.com">webtest-admin@lists.canoo.c=
om</A>=20
    [mailto:webtest-admin@lists.canoo.com]<B>On Behalf Of=20
    </B>Anusha<BR><B>Sent:</B> 03 August 2005 09:17<BR><B>To:</B>=20
    webtest@gate2.canoo.com<BR><B>Subject:</B> [Webtest] Form submission =
problem=20
    to validate login<BR><BR></FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Hi!</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>I am testing for valid / invalid =
login. But I=20
    don't use submit button on my html coding. I am using&nbsp; and =
anchor tag=20
    which will call the java scrtip function: formSubmit &nbsp;to handle =
the=20
    login processing. My html code is :</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT size=3D2>
    <P>&lt;TD colspan=3D"3" align=3D"center"&gt;&lt;IMG=20
    src=3D"../../images/link_arrow_white.gif" width=3D"16" height=3D"16" =

    border=3D"0"&gt;&lt;A =
onMouseOver=3D"this.style.cursor=3D'hand'"&gt;&lt;FONT=20
    color=3D"#ff0000" face=3D"Verdana" size=3D"+1"=20
    =
onClick=3D"formSubmit();"&gt;&amp;nbsp;Enter&lt;/FONT&gt;&lt;/A&gt;&lt;/T=
D&gt;</P>
    <P><FONT face=3DArial></FONT>&nbsp;</P>
    <P><FONT face=3DArial>So how should I adjust this cannoo =
tag:</FONT></P>
    <P><FONT face=3DArial>&lt;clickLink<BR>label =3D =
"Enter"<BR>description=3D"Click=20
    the Enter"<BR>/&gt;</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>&nbsp;</P>
    <P><FONT face=3DArial>Thanks.</FONT></P>
    <P><FONT face=3DArial></FONT>&nbsp;</P>
    <P><FONT face=3DArial>Regards,</FONT></P>
    <P><FONT face=3DArial>Anusha</FONT></P>
    <P><FONT=20
face=3DArial></FONT></P></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></H=
TML>

------=_NextPart_000_001E_01C5984B.0F074130--