[Webtest] Help - input type=button
Roma Bhansali
webtest@lists.canoo.com
Tue, 6 Apr 2004 11:04:24 -0700
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.
------_=_NextPart_001_01C41C01.9855EE90
Content-Type: text/plain;
charset="iso-8859-1"
Hi Audra,
I am pretty new to Canoo but how much I know of, it is because you have a
javascript associated with the button. And it does not support the same.
-Roma
-----Original Message-----
From: Audra Church [mailto:audra.church@fedex.com]
Sent: Tuesday, April 06, 2004 10:26 AM
To: 'webtest@lists.canoo.com'
Subject: [Webtest] Help - input type=button
I am having troubles with clicking my button. I have searched for examples
on the web but I can't seem to find one. Below you will find my velocity
code and my .xml file. I am receiving the following error. Please let me
know if you have any ideas why it is not working and what can be done to fix
it.
Thanks!
Audra
[testSpec] java.lang.RuntimeException: No such property: action
[testSpec] at
com.meterware.httpunit.scripting.ScriptableDelegate.set(ScriptableDelegate.j
ava:98)
[testSpec] at
com.meterware.httpunit.WebForm$Scriptable.set(WebForm.java:604)
[testSpec] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.put(JavaScript
.java:265)
[testSpec] at
org.mozilla.javascript.ScriptableObject.putProperty(ScriptableObject.java:14
76)
[testSpec] at
org.mozilla.javascript.ScriptRuntime.setProp(ScriptRuntime.java:844)
[testSpec] at
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2056)
[testSpec] at
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2173)
[testSpec] at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:58)
[testSpec] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(J
avaScript.java:162)
[testSpec] at
com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelega
te.java:55)
[testSpec] at com.meterware.httpunit.Button.doOnClickEvent(Button.java:85)
[testSpec] at com.meterware.httpunit.Button.click(Button.java:68)
[testSpec] at
com.canoo.webtest.steps.request.ClickButton$1.call(ClickButton.java:120)
[testSpec] at
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:106)
[testSpec] at
com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:110)
[testSpec] at
com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:103)
[testSpec] at com.canoo.webtest.steps.Step.execute(Step.java:99)
[testSpec] at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)
[testSpec] at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.ja
va:68)
[testSpec] at org.apache.tools.ant.Task.perform(Task.java:341)
[testSpec] at org.apache.tools.ant.Target.execute(Target.java:309)
[testSpec] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[testSpec] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[testSpec] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
[testSpec] at org.apache.tools.ant.Task.perform(Task.java:341)
[testSpec] at org.apache.tools.ant.Target.execute(Target.java:309)
[testSpec] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[testSpec] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[testSpec] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunn
er.java:381)
[testSpec] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRun
ner.java:166)
[testSpec] ERROR (Step.java:333) - Cannot handle unexpected exception in
step ClickButton at
file:C:/eclipse/workspace/SuppliesJ2ee/SuppliesWebApp/test/usecases/../modul
es/loginOrderQuery.xml:14: with (label="Logon", stepId="Clicking the
button", stepType="clickbutton")
[testSpec] java.lang.RuntimeException: Event 'submitLogon()' failed:
java.lang.RuntimeException: No such property: action
[testSpec] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.handleScriptEx
ception(JavaScript.java:189)
[testSpec] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(J
avaScript.java:165)
[testSpec] at
com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelega
te.java:55)
[testSpec] at com.meterware.httpunit.Button.doOnClickEvent(Button.java:85)
[testSpec] at com.meterware.httpunit.Button.click(Button.java:68)
[testSpec] at
com.canoo.webtest.steps.request.ClickButton$1.call(ClickButton.java:120)
[testSpec] at
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:106)
[testSpec] at
com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:110)
[testSpec] at
com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:103)
[testSpec] at com.canoo.webtest.steps.Step.execute(Step.java:99)
[testSpec] at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)
[testSpec] at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.ja
va:68)
[testSpec] at org.apache.tools.ant.Task.perform(Task.java:341)
[testSpec] at org.apache.tools.ant.Target.execute(Target.java:309)
[testSpec] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[testSpec] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[testSpec] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
[testSpec] at org.apache.tools.ant.Task.perform(Task.java:341)
[testSpec] at org.apache.tools.ant.Target.execute(Target.java:309)
[testSpec] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[testSpec] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[testSpec] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunn
er.java:381)
[testSpec] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRun
ner.java:166)
BUILD FAILED:
file:C:/eclipse/workspace/SuppliesJ2ee/SuppliesWebApp/test/usecases/main.xml
:18: Test failed.
Exception raised: com.canoo.webtest.engine.StepExecutionException:
Unexpected exception caught: java.lang.RuntimeException: Event
'submitLogon()' failed: java.lang.RuntimeException: No such property:
action, Step: ClickButton at
file:C:/eclipse/workspace/SuppliesJ2ee/SuppliesWebApp/test/usecases/../modul
es/loginOrderQuery.xml:14: with (label="Logon", stepId="Clicking the
button",
stepType="clickbutton")com.canoo.webtest.engine.StepExecutionException:
Unexpected exception caught: java.lang.RuntimeException: Event
'submitLogon()' failed: java.lang.RuntimeException: No such property:
action, Step: ClickButton at
file:C:/eclipse/workspace/SuppliesJ2ee/SuppliesWebApp/test/usecases/../modul
es/loginOrderQuery.xml:14: with (label="Logon", stepId="Clicking the
button", stepType="clickbutton")
at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:334)
at com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:115)
at
com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:110)
at
com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:103)
at com.canoo.webtest.steps.Step.execute(Step.java:99)
at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)
at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.ja
va:68)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunn
er.java:381)
at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRun
ner.java:166)
Total time: 2 seconds
VELOCITY CODE:::
<html>
<head>
<title>Supplies Logon</title>
<link rel="stylesheet" type="text/css" href="supplies.css"
title="Default">
<script language="javascript" src="stopMultiSubmit.js"></script>
<script language="javascript" src="placeFocus.js"></script>
<script language="javascript">
function checkEnter(event) {
if (event.keyCode==13) {
document.LoginForm.action =
"/SuppliesWebApp/Logon.do?action=logon";
document.LoginForm.submit();
}
}
function submitLogon() {
document.LoginForm.action =
"/SuppliesWebApp/Logon.do?action=logon";
document.LoginForm.submit();
}
</script>
</head>
<body class="body" onload="placeFocus()">
<!-- Header -->
#parse("headerLogon.vm")
<!-- Errors -->
#parse("errorMsg.vm")
<!-- Warnings -->
#parse("warningMsg.vm")
<!-- Status -->
#parse("statusMsg.vm")
<form name="LoginForm" method="POST" onSubmit="return
stopMultipleSubmit();">
<input type="hidden" name="pageName" value="logon">
<br>
<center>
<table border="0">
<tr>
<td align="center">
<h1 class="h5">Supplies System</h1>
</td>
</tr>
<tr>
<td align="center"><img alt='Supplies Logo'
src='images/suppliesLogon.jpg' width="430" height="270"></td>
</tr>
<tr>
<td align="center">
<table width="100%" class="formTable" border="1" cellspacing="2"
cellpadding="5">
<tr>
<th class="dataHeading" colspan="2">Supplies Login</th>
</tr>
<tr>
<td class="dataLabelRight">User: *</td>
<td class="formValue"><input type=text name=userId value=""
onKeyPress="checkEnter(event)"></td>
</tr>
<tr>
<td class="dataLabelRight">Password: *</td>
<td class="formValue"><input type=password name=password
value="" onKeyPress="checkEnter(event)"></td>
</tr>
<tr>
<td align="center" class="formButton"
colspan="2"><center><input type="button" value="Logon"
onClick="submitLogon()"><center></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<p class="pageText">
<i>Required fields are marked with a *</i>
</p>
</td>
</tr>
</table>
</form>
<!-- Page Footer -->
#parse("footer.vm")
</body>
</html>
loginOrderQuery.xml:::
<invoke
stepid="Get to the login page"
url="Logon.do?action=init"/>
<setinputfield
stepid="Set user name"
name="userId"
value="joe" />
<setinputfield
stepid="Set password"
name="password"
value="xxxx" />
<clickbutton
stepid="Clicking the button"
label="Logon"/>
<verifytitle
stepid="Order Query page should follow after Logon pressed"
text="Supplies Order Query" />
------_=_NextPart_001_01C41C01.9855EE90
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=796002418-06042004><FONT face=Arial color=#0000ff size=2>Hi
Audra,</FONT></SPAN></DIV>
<DIV><SPAN class=796002418-06042004><FONT face=Arial color=#0000ff size=2>I
am pretty new to Canoo but how much I know of, it is because you have a
javascript associated with the button. And it does not support the same.
</FONT></SPAN></DIV>
<DIV><SPAN class=796002418-06042004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=796002418-06042004><FONT face=Arial color=#0000ff
size=2>-Roma</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Audra Church
[mailto:audra.church@fedex.com]<BR><B>Sent:</B> Tuesday, April 06, 2004 10:26
AM<BR><B>To:</B> 'webtest@lists.canoo.com'<BR><B>Subject:</B> [Webtest] Help -
input type=button<BR><BR></FONT></DIV>I am having troubles with clicking my
button. I have searched for examples on the web but I can't seem to find one.
Below you will find my velocity code and my .xml file. I am receiving the
following error. Please let me know if you have any ideas why it is not
working and what can be done to fix it. <BR>Thanks! <BR>Audra <BR>
<P><FONT size=-1>[testSpec] java.lang.RuntimeException: No such property:
action</FONT> <BR><FONT size=-1> [testSpec] at
com.meterware.httpunit.scripting.ScriptableDelegate.set(ScriptableDelegate.java:98)</FONT>
<BR><FONT size=-1> [testSpec] at
com.meterware.httpunit.WebForm$Scriptable.set(WebForm.java:604)</FONT>
<BR><FONT size=-1> [testSpec] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.put(JavaScript.java:265)</FONT>
<BR><FONT size=-1> [testSpec] at
org.mozilla.javascript.ScriptableObject.putProperty(ScriptableObject.java:1476)</FONT>
<BR><FONT size=-1> [testSpec] at
org.mozilla.javascript.ScriptRuntime.setProp(ScriptRuntime.java:844)</FONT>
<BR><FONT size=-1> [testSpec] at
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2056)</FONT>
<BR><FONT size=-1> [testSpec] at
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2173)</FONT>
<BR><FONT size=-1> [testSpec] at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:58)</FONT>
<BR><FONT size=-1> [testSpec] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(JavaScript.java:162)</FONT>
<BR><FONT size=-1> [testSpec] at
com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelegate.java:55)</FONT>
<BR><FONT size=-1> [testSpec] at
com.meterware.httpunit.Button.doOnClickEvent(Button.java:85)</FONT> <BR><FONT
size=-1> [testSpec] at
com.meterware.httpunit.Button.click(Button.java:68)</FONT> <BR><FONT
size=-1> [testSpec] at
com.canoo.webtest.steps.request.ClickButton$1.call(ClickButton.java:120)</FONT>
<BR><FONT size=-1> [testSpec] at
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:106)</FONT>
<BR><FONT size=-1> [testSpec] at
com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:110)</FONT>
<BR><FONT size=-1> [testSpec] at
com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:103)</FONT>
<BR><FONT size=-1> [testSpec] at
com.canoo.webtest.steps.Step.execute(Step.java:99)</FONT> <BR><FONT
size=-1> [testSpec] at
com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)</FONT> <BR><FONT
size=-1> [testSpec] at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.java:68)</FONT>
<BR><FONT size=-1> [testSpec] at
org.apache.tools.ant.Task.perform(Task.java:341)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Target.execute(Target.java:309)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Target.performTasks(Target.java:336)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Task.perform(Task.java:341)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Target.execute(Target.java:309)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Target.performTasks(Target.java:336)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)</FONT> <BR><FONT
size=-1> [testSpec] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:381)</FONT>
<BR><FONT size=-1> [testSpec] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:166)</FONT>
<BR><FONT size=-1> [testSpec] ERROR (Step.java:333) - Cannot handle
unexpected exception in step ClickButton at
file:C:/eclipse/workspace/SuppliesJ2ee/SuppliesWebApp/test/usecases/../modules/loginOrderQuery.xml:14:
with (label="Logon", stepId="Clicking the button",
stepType="clickbutton")</FONT> <BR><FONT size=-1> [testSpec]
java.lang.RuntimeException: Event 'submitLogon()' failed:
java.lang.RuntimeException: No such property: action</FONT> <BR><FONT
size=-1> [testSpec] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.handleScriptException(JavaScript.java:189)</FONT>
<BR><FONT size=-1> [testSpec] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(JavaScript.java:165)</FONT>
<BR><FONT size=-1> [testSpec] at
com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelegate.java:55)</FONT>
<BR><FONT size=-1> [testSpec] at
com.meterware.httpunit.Button.doOnClickEvent(Button.java:85)</FONT> <BR><FONT
size=-1> [testSpec] at
com.meterware.httpunit.Button.click(Button.java:68)</FONT> <BR><FONT
size=-1> [testSpec] at
com.canoo.webtest.steps.request.ClickButton$1.call(ClickButton.java:120)</FONT>
<BR><FONT size=-1> [testSpec] at
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:106)</FONT>
<BR><FONT size=-1> [testSpec] at
com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:110)</FONT>
<BR><FONT size=-1> [testSpec] at
com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:103)</FONT>
<BR><FONT size=-1> [testSpec] at
com.canoo.webtest.steps.Step.execute(Step.java:99)</FONT> <BR><FONT
size=-1> [testSpec] at
com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)</FONT> <BR><FONT
size=-1> [testSpec] at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.java:68)</FONT>
<BR><FONT size=-1> [testSpec] at
org.apache.tools.ant.Task.perform(Task.java:341)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Target.execute(Target.java:309)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Target.performTasks(Target.java:336)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Task.perform(Task.java:341)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Target.execute(Target.java:309)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Target.performTasks(Target.java:336)</FONT> <BR><FONT
size=-1> [testSpec] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)</FONT> <BR><FONT
size=-1> [testSpec] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:381)</FONT>
<BR><FONT size=-1> [testSpec] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:166)</FONT>
<BR><FONT size=-1>BUILD FAILED:
file:C:/eclipse/workspace/SuppliesJ2ee/SuppliesWebApp/test/usecases/main.xml:18:
Test failed.</FONT> <BR><FONT size=-1>Exception raised:
com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught:
java.lang.RuntimeException: Event 'submitLogon()' failed:
java.lang.RuntimeException: No such property: action, Step: ClickButton at
file:C:/eclipse/workspace/SuppliesJ2ee/SuppliesWebApp/test/usecases/../modules/loginOrderQuery.xml:14:
with (label="Logon", stepId="Clicking the button",
stepType="clickbutton")com.canoo.webtest.engine.StepExecutionException:
Unexpected exception caught: java.lang.RuntimeException: Event 'submitLogon()'
failed: java.lang.RuntimeException: No such property: action, Step:
ClickButton at
file:C:/eclipse/workspace/SuppliesJ2ee/SuppliesWebApp/test/usecases/../modules/loginOrderQuery.xml:14:
with (label="Logon", stepId="Clicking the button",
stepType="clickbutton")</FONT> <BR><FONT size=-1> at
com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:334)</FONT>
<BR><FONT size=-1> at
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:115)</FONT>
<BR><FONT size=-1> at
com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:110)</FONT>
<BR><FONT size=-1> at
com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:103)</FONT>
<BR><FONT size=-1> at
com.canoo.webtest.steps.Step.execute(Step.java:99)</FONT> <BR><FONT
size=-1> at
com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)</FONT> <BR><FONT
size=-1> at
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.java:68)</FONT>
<BR><FONT size=-1> at
org.apache.tools.ant.Task.perform(Task.java:341)</FONT> <BR><FONT
size=-1> at org.apache.tools.ant.Target.execute(Target.java:309)</FONT>
<BR><FONT size=-1> at
org.apache.tools.ant.Target.performTasks(Target.java:336)</FONT> <BR><FONT
size=-1> at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)</FONT> <BR><FONT
size=-1> at
org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)</FONT> <BR><FONT
size=-1> at org.apache.tools.ant.Task.perform(Task.java:341)</FONT>
<BR><FONT size=-1> at
org.apache.tools.ant.Target.execute(Target.java:309)</FONT> <BR><FONT
size=-1> at
org.apache.tools.ant.Target.performTasks(Target.java:336)</FONT> <BR><FONT
size=-1> at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)</FONT> <BR><FONT
size=-1> at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:381)</FONT>
<BR><FONT size=-1> at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:166)</FONT>
<BR><FONT size=-1>Total time: 2 seconds</FONT> <BR><FONT size=-1></FONT>
<P><B><FONT size=+3>VELOCITY CODE:::</FONT></B> <BR><FONT
size=-1><html></FONT> <BR><FONT size=-1><head></FONT> <BR><FONT
size=-1> <title>Supplies Logon</title></FONT> <BR><FONT
size=-1> <link rel="stylesheet" type="text/css"
href="supplies.css" title="Default"></FONT> <BR><FONT size=-1> </FONT>
<BR><FONT size=-1> <script language="javascript"
src="stopMultiSubmit.js"></script></FONT> <BR><FONT
size=-1> <script language="javascript"
src="placeFocus.js"></script></FONT> <BR><FONT size=-1> </FONT>
<BR><FONT size=-1> <script
language="javascript"></FONT> <BR><FONT
size=-1> function checkEnter(event)
{</FONT> <BR><FONT size=-1> if
(event.keyCode==13) {</FONT> <BR><FONT
size=-1>
document.LoginForm.action = "/SuppliesWebApp/Logon.do?action=logon";</FONT>
<BR><FONT size=-1>
document.LoginForm.submit();</FONT> <BR><FONT
size=-1> }</FONT>
<BR><FONT size=-1> }</FONT> <BR><FONT
size=-1> </FONT> <BR><FONT size=-1>
function submitLogon() {</FONT> <BR><FONT
size=-1>
document.LoginForm.action = "/SuppliesWebApp/Logon.do?action=logon";</FONT>
<BR><FONT size=-1>
document.LoginForm.submit();</FONT> <BR><FONT
size=-1> }</FONT> <BR><FONT
size=-1> </script></FONT> <BR><FONT
size=-1></head></FONT><FONT size=-1></FONT>
<P><FONT size=-1><body class="body" onload="placeFocus()"></FONT>
<BR><FONT size=-1> </FONT> <BR><FONT size=-1> <!-- Header
--></FONT> <BR><FONT size=-1> #parse("headerLogon.vm")</FONT>
<BR><FONT size=-1> </FONT> <BR><FONT size=-1> <!-- Errors
--></FONT> <BR><FONT size=-1> #parse("errorMsg.vm")</FONT>
<BR><FONT size=-1> </FONT> <BR><FONT size=-1> <!--
Warnings --></FONT> <BR><FONT size=-1>
#parse("warningMsg.vm")</FONT><FONT size=-1></FONT>
<P><FONT size=-1> <!-- Status --></FONT> <BR><FONT
size=-1> #parse("statusMsg.vm")</FONT><FONT size=-1></FONT>
<P><FONT size=-1> <form name="LoginForm" method="POST"
onSubmit="return stopMultipleSubmit();"></FONT> <BR><FONT
size=-1> <input type="hidden" name="pageName"
value="logon"></FONT><FONT size=-1></FONT>
<P><FONT size=-1> <br></FONT> <BR><FONT size=-1>
<center></FONT> <BR><FONT size=-1> <table
border="0"></FONT> <BR><FONT size=-1>
<tr></FONT> <BR><FONT size=-1>
<td align="center"></FONT> <BR><FONT
size=-1> <h1
class="h5">Supplies System</h1></FONT> <BR><FONT
size=-1> </td></FONT> <BR><FONT
size=-1> </tr></FONT> <BR><FONT
size=-1> <tr></FONT> <BR><FONT
size=-1> <td align="center"><img
alt='Supplies Logo' src='images/suppliesLogon.jpg' width="430"
height="270"></td></FONT> <BR><FONT size=-1>
</tr></FONT> <BR><FONT size=-1>
<tr></FONT> <BR><FONT size=-1>
<td align="center"></FONT> <BR><FONT
size=-1> <table
width="100%" class="formTable" border="1" cellspacing="2"
cellpadding="5"></FONT> <BR><FONT
size=-1>
<tr></FONT> <BR><FONT
size=-1>
<th class="dataHeading" colspan="2">Supplies Login</th></FONT>
<BR><FONT size=-1>
</tr></FONT> <BR><FONT
size=-1>
<tr></FONT> <BR><FONT
size=-1>
<td class="dataLabelRight">User: *</td></FONT> <BR><FONT
size=-1>
<td class="formValue"><input type=text name=userId value=""
onKeyPress="checkEnter(event)"></td></FONT> <BR><FONT
size=-1>
</tr></FONT> <BR><FONT
size=-1>
<tr></FONT> <BR><FONT
size=-1>
<td class="dataLabelRight">Password: *</td></FONT> <BR><FONT
size=-1>
<td class="formValue"><input type=password name=password value=""
onKeyPress="checkEnter(event)"></td></FONT> <BR><FONT
size=-1>
</tr></FONT> <BR><FONT
size=-1>
<tr></FONT> <BR><FONT
size=-1>
<td align="center" class="formButton"
colspan="2"><center><input type="button" value="Logon"
onClick="submitLogon()"><center></td></FONT> <BR><FONT
size=-1>
</tr></FONT> <BR><FONT
size=-1> </table></FONT>
<BR><FONT size=-1> </td></FONT>
<BR><FONT size=-1> </tr></FONT> <BR><FONT
size=-1> <tr></FONT> <BR><FONT
size=-1> <td></FONT> <BR><FONT
size=-1> <p
class="pageText"></FONT> <BR><FONT
size=-1>
<i>Required fields are marked with a *</i></FONT> <BR><FONT
size=-1> </p></FONT>
<BR><FONT size=-1> </td></FONT>
<BR><FONT size=-1> </tr></FONT> <BR><FONT
size=-1> </table></FONT> <BR><FONT size=-1>
</form></FONT><FONT size=-1></FONT>
<P><FONT size=-1> <!-- Page Footer --></FONT> <BR><FONT
size=-1> #parse("footer.vm")</FONT> <BR><FONT
size=-1> </FONT> <BR><FONT size=-1></body></FONT> <BR><FONT
size=-1></html></FONT>
<P><B><FONT size=+3>loginOrderQuery.xml:::</FONT></B> <BR><B><FONT
size=-1><invoke</FONT></B> <BR><B><FONT size=-1> stepid="Get to the
login page"</FONT></B> <BR><B><FONT
size=-1> url="Logon.do?action=init"/></FONT></B> <BR><B><FONT
size=-1><setinputfield</FONT></B> <BR><B><FONT size=-1> stepid="Set
user name"</FONT></B> <BR><B><FONT size=-1> name="userId"</FONT></B>
<BR><B><FONT size=-1> value="joe" /></FONT></B> <BR><B><FONT
size=-1><setinputfield</FONT></B> <BR><B><FONT size=-1> stepid="Set
password"</FONT></B> <BR><B><FONT size=-1> name="password"</FONT></B>
<BR><B><FONT size=-1> value="xxxx" /></FONT></B> <BR><B><FONT
size=-1><clickbutton</FONT></B> <BR><B><FONT size=-1> stepid="Clicking
the button"</FONT></B> <BR><B><FONT
size=-1> label="Logon"/></FONT></B> <BR><B><FONT
size=-1><verifytitle</FONT></B> <BR><B><FONT size=-1> stepid="Order
Query page should follow after Logon pressed"</FONT></B> <BR><B><FONT
size=-1> text="Supplies Order Query" /></FONT></B> <BR><FONT
size=-1></FONT> </P></BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C41C01.9855EE90--