[Webtest] Form submission problem to validate login
Anusha
webtest@lists.canoo.com
Thu, 4 Aug 2005 10:58:11 +0800
This is a multi-part message in MIME format.
------=_NextPart_000_0029_01C598E3.678ED820
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi!
I don't have the opportunity to edit the html files. I tried with what =
you suggested. When I do this:
<storeXPath
description=3D"find the Enter link text"
xpath=3D"//font[contains(@onclick,'formSubmit')]/"
property=3D"enterLinkText"
/>
I get this error:
Exception raised: com.canoo.webtest.engine.StepExecutionException: =
Unexpected ex
ception caught: org.jaxen.XPathSyntaxException: Expected one of '.', =
'..', '@',
'*', <QName>, Step: StoreXPath at C:\canoo\doc\samples\Login.xml:19: =
with (prop
erty=3D"enterLinkText", description=3D"find the Enter link text", =
xpath=3D"//font[cont
ains(@onclick,'formSubmit')]/", =
stepType=3D"storeXPath")com.canoo.webtest.engine.S
tepExecutionException: Unexpected exception caught: =
org.jaxen.XPathSyntaxExcepti
on: Expected one of '.', '..', '@', '*', <QName>, Step: StoreXPath at =
C:\canoo\d
oc\samples\Login.xml:19: with (property=3D"enterLinkText", =
description=3D"find the
Enter link text", xpath=3D"//font[contains(@onclick,'formSubmit')]/", =
stepType=3D"st
oreXPath")
at =
com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:420)
at com.canoo.webtest.steps.Step.execute(Step.java:125)
at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:30)
at =
com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:73)
at =
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at =
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at =
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:40)
at =
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Then when i remove the last "/" from =
xpath=3D"//font[contains(@onclick,'formSubmit')]" I get this:
Test step clickLink (C:\canoo\doc\samples\Login.xml:25: ) named "Click =
Enter li
nk" failed with message "Link not found in page =
http://192.168.3.199/iteps/bnm/j
sp/frmCommonSignIn.jsp: label <=E1Enter>, htmlId <null>, href <null>
Known Links in Page are:
label "Enter" with url "" and id "",
"
What does this mean =E1? And what does the "//" in =
xpath=3D"//font[contains(@onclick,'formSubmit')]" mean??
I also tried to work it around but still can't get it going. I have =
tried replacing onclick with "onClick" and formSubmit with =
"formSubmit();" But still not working.
Please advise me further on how to resolve this problem.=20
Thank u.
Regards,
Anusha
----- Original Message -----=20
From: Colin O'Brien=20
To: webtest@gate2.canoo.com=20
Sent: Wednesday, August 03, 2005 6:09 PM
Subject: RE: [Webtest] Form submission problem to validate login
Hi Anusha,
This solution is a little more involved and may be a little bit of =
over kill but it should find the exact string you're looking for in you =
anchor tag, try this and see if it works a little better...
<storeXPath
description=3D"find the Enter link text"
xpath=3D"//font[contains(@onclick,'formSubmit')]/"
property=3D"enterLinkText"
/>
<clickLink
description=3D"Click Enter link"
label=3D"#{enterLinkText}"
/>
The storeXPath expression will show what is being found in the font =
tag at least, though from the error message it appears that the space is =
being ignored... Is the space essential...? Do you have the opportunity =
to edit the html and remove the space...?
Regards,
Colin.
-----Original Message-----
From: webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]On Behalf Of Anusha
Sent: 03 August 2005 09:48
To: webtest@gate2.canoo.com
Subject: Re: [Webtest] Form submission problem to validate login
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 MailScanner has detected a =
possible fraud attempt from "192.168.3.199" claiming to be MailScanner =
warning: numerical links are often malicious: =
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 =
( 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();"> 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_0029_01C598E3.678ED820
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 don't have the opportunity to edit =
the html=20
files. I tried with what you suggested. When I do this:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial color=3D#0000ff =
size=3D2><storeXPath</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005> <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>description=3D"find the Enter link =
text"</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial color=3D#0000ff =
size=3D2> =20
xpath=3D"//font[contains(@onclick,'formSubmit')]/"</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial color=3D#0000ff =
size=3D2> =
property=3D"enterLinkText"</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial color=3D#0000ff =
size=3D2>/></FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT=20
color=3D#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT color=3D#0000ff>I get this=20
error:</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT=20
color=3D#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005>Exception raised:=20
com.canoo.webtest.engine.StepExecutionException: Unexpected =
ex<BR>ception=20
caught: org.jaxen.XPathSyntaxException: Expected one of '.', '..', <A=20
href=3D"mailto:'@'">'@'</A>,<BR>'*', <QName>, Step: StoreXPath at=20
C:\canoo\doc\samples\Login.xml:19: with =
(prop<BR>erty=3D"enterLinkText",=20
description=3D"find the Enter link text",=20
xpath=3D"//font[cont<BR>ains(@onclick,'formSubmit')]/",=20
stepType=3D"storeXPath")com.canoo.webtest.engine.S<BR>tepExecutionExcepti=
on:=20
Unexpected exception caught: org.jaxen.XPathSyntaxExcepti<BR>on: =
Expected one of=20
'.', '..', <A href=3D"mailto:'@'">'@'</A>, '*', <QName>, Step: =
StoreXPath at=20
C:\canoo\d<BR>oc\samples\Login.xml:19: with =
(property=3D"enterLinkText",=20
description=3D"find the<BR>Enter link text",=20
xpath=3D"//font[contains(@onclick,'formSubmit')]/",=20
stepType=3D"st<BR>oreXPath")<BR>  =
; at=20
com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:420)</SP=
AN></DIV>
<DIV> </DIV>
<DIV><SPAN =
class=3D279573709-03082005> =20
at=20
com.canoo.webtest.steps.Step.execute(Step.java:125)<BR> =
=20
at=20
com.canoo.webtest.engine.Engine.executeSteps(Engine.java:30)<BR> &nb=
sp; =20
at=20
com.canoo.webtest.ant.WebtestTask.execute(WebtestTask.java:73)<BR> &=
nbsp; =20
at=20
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)<BR>&=
nbsp; =20
at=20
org.apache.tools.ant.Task.perform(Task.java:364)<BR> &nb=
sp; =20
at=20
org.apache.tools.ant.Target.execute(Target.java:341)<BR>  =
; =20
at=20
org.apache.tools.ant.Target.performTasks(Target.java:369)<BR> =
=20
at=20
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)<BR>&=
nbsp; =20
at=20
org.apache.tools.ant.Project.executeTarget(Project.java:1185)<BR> &n=
bsp; =20
at=20
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe<BR>=
cutor.java:40)<BR> =20
at=20
org.apache.tools.ant.Project.executeTargets(Project.java:1068)<BR> &=
nbsp; =20
at=20
org.apache.tools.ant.Main.runBuild(Main.java:668)<BR> &n=
bsp; =20
at=20
org.apache.tools.ant.Main.startAnt(Main.java:187)<BR> &n=
bsp; =20
at=20
org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)<BR> &nbs=
p; =20
at =
org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT=20
color=3D#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT color=3D#0000ff>Then when i =
remove the=20
last "/" from xpath=3D"//font[contains(@onclick,'formSubmit')]" I =
get=20
this:</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT=20
color=3D#0000ff></FONT></SPAN> </DIV><FONT color=3D#0000ff>Test =
step clickLink=20
(C:\canoo\doc\samples\Login.xml:25: ) named "Click Enter li<BR>nk" =
failed=20
with message "Link not found in page <A=20
href=3D"http://192.168.3.199/iteps/bnm/j">http://192.168.3.199/iteps/bnm/=
j</A><BR>sp/frmCommonSignIn.jsp:=20
label <=E1Enter>, htmlId <null>, href <null><BR>Known =
Links in=20
Page are:<BR>label "Enter" with url "" and id "",<BR>"</FONT>
<DIV><SPAN class=3D279573709-03082005><FONT=20
color=3D#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT color=3D#0000ff>What does =
this mean =E1?=20
And what does the "//" in =
xpath=3D"//font[contains(@onclick,'formSubmit')]"=20
mean??</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT=20
color=3D#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT color=3D#0000ff>I also tried =
to work it=20
around but still can't get it going. I have tried replacing onclick with =
"onClick" and formSubmit with "formSubmit();" But still not=20
working.</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT=20
color=3D#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT color=3D#0000ff>Please =
advise me further=20
on how to resolve this problem. </FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT=20
color=3D#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT color=3D#0000ff>Thank=20
u.</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT=20
color=3D#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT=20
color=3D#0000ff>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT=20
color=3D#0000ff>Anusha</FONT></SPAN></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></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 6:09=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Webtest] Form =
submission=20
problem to validate login</DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><BR></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff size=3D2>Hi=20
Anusha,</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff size=3D2>This=20
solution is a little more involved and may be a little bit of over =
kill but it=20
should find the exact string you're looking for in you anchor tag, try =
this=20
and see if it works a little better...</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2><storeXPath</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005> <FONT =
face=3DArial=20
color=3D#0000ff size=3D2>description=3D"find the Enter link=20
text"</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2> =20
xpath=3D"//font[contains(@onclick,'formSubmit')]/"</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2> =
property=3D"enterLinkText"</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>/></FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2><clickLink</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2> description=3D"Click Enter =
link"</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2> =
label=3D"#{enterLinkText}"</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>/></FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff size=3D2>The=20
storeXPath expression will show what is being found in the font tag at =
least,=20
though from the error message it appears that the space is being =
ignored... Is=20
the space essential...? Do you have the opportunity to edit the html =
and=20
remove the space...?</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D279573709-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=3D279573709-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>=20
webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]<B>On=20
Behalf Of </B>Anusha<BR><B>Sent:</B> 03 August 2005 =
09:48<BR><B>To:</B>=20
webtest@gate2.canoo.com<BR><B>Subject:</B> Re: [Webtest] Form =
submission=20
problem to validate login<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Hi!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have tried by putting a space =
before the "=20
Enter" but I the build still fails. I get this error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Test step clickLink=20
(C:\canoo\doc\samples\Login.xml:17: ) named "Enter" =
failed<BR>with=20
message "Link not found in page <A=20
=
href=3D"http://192.168.3.199/iteps/bnm/jsp/frmCommo"></B></FONT><FONT=20
color=3Dred><B>MailScanner has detected a possible fraud attempt =
from=20
"192.168.3.199" claiming to be</B></FONT> <FONT =
color=3Dred><B>MailScanner=20
warning: numerical links are often malicious:=20
http://192.168.3.199/iteps/bnm/jsp/frmCommo</A><BR>nSignIn.jsp: =
label <=20
Enter>, htmlId <null>, href <null><BR>Known Links in =
Page=20
are:<BR>label "Enter" with url "" and id "",<BR>"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Please advise me further on how to =
overcome=20
this problem. Must I enable javascript some where??</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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 problem to validate login</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=3D420373008-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Hi Anusha,</FONT></SPAN></DIV>
<DIV><SPAN class=3D420373008-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </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=20
(<FONT face=3D"Times New Roman" =
color=3D#000000>&nbsp;Enter<FONT=20
face=3DArial color=3D#0000ff>)</FONT></FONT>, you might want to =
try to put=20
this space in your canoo tag also... like so</FONT></SPAN></DIV>
<DIV><SPAN class=3D420373008-03082005><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D420373008-03082005><FONT face=3DArial=20
size=3D2><clickLink<BR>label =3D " =
Enter"<BR>description=3D"Click the=20
Enter"<BR>/></FONT></SPAN></DIV>
<DIV><SPAN class=3D420373008-03082005><FONT face=3DArial=20
size=3D2></FONT></SPAN> </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> </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=20
problem to validate login<BR><BR></FONT></DIV>
<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=20
I don't use submit button on my html coding. I am using =
and anchor=20
tag which will call the java scrtip function: formSubmit =
to handle=20
the login processing. 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=20
"Enter"<BR>description=3D"Click the Enter"<BR>/></FONT></P>
<P><FONT face=3DArial>At the moment I have it as the above. I =
can't get it=20
to validate the login page. Pls tell me how should i adjust it =
to use=20
the 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=20
=
face=3DArial></FONT></P></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUO=
TE></BLOCKQUOTE></B></BODY></HTML>
------=_NextPart_000_0029_01C598E3.678ED820--