[Webtest] Help - input type=button

Audra Church webtest@lists.canoo.com
Tue, 06 Apr 2004 11:25:31 -0600


--Boundary_(ID_Ci5pMIkL71qjFqbJCeD5YQ)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

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.java: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:1476)

 [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(JavaScript.java:162)

 [testSpec] at
com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelegate.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.java: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(InternalAntRunner.java:381)

 [testSpec] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:166)

 [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")
 [testSpec] java.lang.RuntimeException: Event 'submitLogon()' failed:
java.lang.RuntimeException: No such property: action
 [testSpec] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.handleScriptException(JavaScript.java:189)

 [testSpec] at
com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(JavaScript.java:165)

 [testSpec] at
com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelegate.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.java: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(InternalAntRunner.java:381)

 [testSpec] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.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/../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")
 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.java: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(InternalAntRunner.java:381)

 at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.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" />


--Boundary_(ID_Ci5pMIkL71qjFqbJCeD5YQ)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
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>&nbsp;
<p><font size=-1>[testSpec] java.lang.RuntimeException: No such property:
action</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.scripting.ScriptableDelegate.set(ScriptableDelegate.java:98)</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.WebForm$Scriptable.set(WebForm.java:604)</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.put(JavaScript.java:265)</font>
<br><font size=-1>&nbsp;[testSpec] at org.mozilla.javascript.ScriptableObject.putProperty(ScriptableObject.java:1476)</font>
<br><font size=-1>&nbsp;[testSpec] at org.mozilla.javascript.ScriptRuntime.setProp(ScriptRuntime.java:844)</font>
<br><font size=-1>&nbsp;[testSpec] at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2056)</font>
<br><font size=-1>&nbsp;[testSpec] at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2173)</font>
<br><font size=-1>&nbsp;[testSpec] at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:58)</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(JavaScript.java:162)</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelegate.java:55)</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.Button.doOnClickEvent(Button.java:85)</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.Button.click(Button.java:68)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.steps.request.ClickButton$1.call(ClickButton.java:120)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:106)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:110)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:103)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.steps.Step.execute(Step.java:99)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.java:68)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Task.perform(Task.java:341)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Target.execute(Target.java:309)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Target.performTasks(Target.java:336)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Task.perform(Task.java:341)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Target.execute(Target.java:309)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Target.performTasks(Target.java:336)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)</font>
<br><font size=-1>&nbsp;[testSpec] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:381)</font>
<br><font size=-1>&nbsp;[testSpec] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:166)</font>
<br><font size=-1>&nbsp;[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:&nbsp;
with (label="Logon", stepId="Clicking the button", stepType="clickbutton")</font>
<br><font size=-1>&nbsp;[testSpec] java.lang.RuntimeException: Event 'submitLogon()'
failed: java.lang.RuntimeException: No such property: action</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.handleScriptException(JavaScript.java:189)</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.javascript.JavaScript$JavaScriptEngine.performEvent(JavaScript.java:165)</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.scripting.ScriptableDelegate.doEvent(ScriptableDelegate.java:55)</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.Button.doOnClickEvent(Button.java:85)</font>
<br><font size=-1>&nbsp;[testSpec] at com.meterware.httpunit.Button.click(Button.java:68)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.steps.request.ClickButton$1.call(ClickButton.java:120)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:106)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:110)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:103)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.steps.Step.execute(Step.java:99)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)</font>
<br><font size=-1>&nbsp;[testSpec] at com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.java:68)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Task.perform(Task.java:341)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Target.execute(Target.java:309)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Target.performTasks(Target.java:336)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Task.perform(Task.java:341)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Target.execute(Target.java:309)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Target.performTasks(Target.java:336)</font>
<br><font size=-1>&nbsp;[testSpec] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)</font>
<br><font size=-1>&nbsp;[testSpec] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:381)</font>
<br><font size=-1>&nbsp;[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:&nbsp;
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:&nbsp;
with (label="Logon", stepId="Clicking the button", stepType="clickbutton")</font>
<br><font size=-1>&nbsp;at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:334)</font>
<br><font size=-1>&nbsp;at com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:115)</font>
<br><font size=-1>&nbsp;at com.canoo.webtest.steps.request.ClickButton.gotoTarget(ClickButton.java:110)</font>
<br><font size=-1>&nbsp;at com.canoo.webtest.steps.request.ClickButton.doExecute(ClickButton.java:103)</font>
<br><font size=-1>&nbsp;at com.canoo.webtest.steps.Step.execute(Step.java:99)</font>
<br><font size=-1>&nbsp;at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)</font>
<br><font size=-1>&nbsp;at com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.java:68)</font>
<br><font size=-1>&nbsp;at org.apache.tools.ant.Task.perform(Task.java:341)</font>
<br><font size=-1>&nbsp;at org.apache.tools.ant.Target.execute(Target.java:309)</font>
<br><font size=-1>&nbsp;at org.apache.tools.ant.Target.performTasks(Target.java:336)</font>
<br><font size=-1>&nbsp;at org.apache.tools.ant.Project.executeTarget(Project.java:1339)</font>
<br><font size=-1>&nbsp;at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)</font>
<br><font size=-1>&nbsp;at org.apache.tools.ant.Task.perform(Task.java:341)</font>
<br><font size=-1>&nbsp;at org.apache.tools.ant.Target.execute(Target.java:309)</font>
<br><font size=-1>&nbsp;at org.apache.tools.ant.Target.performTasks(Target.java:336)</font>
<br><font size=-1>&nbsp;at org.apache.tools.ant.Project.executeTarget(Project.java:1339)</font>
<br><font size=-1>&nbsp;at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:381)</font>
<br><font size=-1>&nbsp;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>&nbsp;
<p><b><font size=+3>VELOCITY CODE:::</font></b>
<br><font size=-1>&lt;html></font>
<br><font size=-1>&lt;head></font>
<br><font size=-1>&nbsp;&lt;title>Supplies Logon&lt;/title></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp; &lt;link rel="stylesheet" type="text/css"
href="supplies.css" title="Default"></font>
<br><font size=-1>&nbsp;</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp; &lt;script language="javascript" src="stopMultiSubmit.js">&lt;/script></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp; &lt;script language="javascript" src="placeFocus.js">&lt;/script></font>
<br><font size=-1>&nbsp;</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp; &lt;script language="javascript"></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function checkEnter(event)
{</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (event.keyCode==13)
{</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
document.LoginForm.action = "/SuppliesWebApp/Logon.do?action=logon";</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; document.LoginForm.submit();</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
}</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</font>
<br><font size=-1>&nbsp;</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function submitLogon()
{</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
document.LoginForm.action = "/SuppliesWebApp/Logon.do?action=logon";</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
document.LoginForm.submit();</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</font>
<br><font size=-1>&nbsp;&nbsp;&nbsp; &lt;/script></font>
<br><font size=-1>&lt;/head></font><font size=-1></font>
<p><font size=-1>&lt;body class="body" onload="placeFocus()"></font>
<br><font size=-1>&nbsp;</font>
<br><font size=-1>&nbsp;&nbsp; &lt;!-- Header --></font>
<br><font size=-1>&nbsp;&nbsp; #parse("headerLogon.vm")</font>
<br><font size=-1>&nbsp;</font>
<br><font size=-1>&nbsp;&nbsp; &lt;!-- Errors --></font>
<br><font size=-1>&nbsp;&nbsp; #parse("errorMsg.vm")</font>
<br><font size=-1>&nbsp;</font>
<br><font size=-1>&nbsp;&nbsp; &lt;!-- Warnings --></font>
<br><font size=-1>&nbsp;&nbsp; #parse("warningMsg.vm")</font><font size=-1></font>
<p><font size=-1>&nbsp;&nbsp; &lt;!-- Status --></font>
<br><font size=-1>&nbsp;&nbsp; #parse("statusMsg.vm")</font><font size=-1></font>
<p><font size=-1>&nbsp;&nbsp; &lt;form name="LoginForm" method="POST" onSubmit="return
stopMultipleSubmit();"></font>
<br><font size=-1>&nbsp;&nbsp; &lt;input type="hidden" name="pageName"
value="logon"></font><font size=-1></font>
<p><font size=-1>&nbsp;&nbsp; &lt;br></font>
<br><font size=-1>&nbsp;&nbsp; &lt;center></font>
<br><font size=-1>&nbsp;&nbsp; &lt;table border="0"></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td align="center"></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;h1
class="h5">Supplies System&lt;/h1></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/td></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td align="center">&lt;img
alt='Supplies Logo' src='images/suppliesLogon.jpg' width="430" height="270">&lt;/td></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td align="center"></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;table
width="100%" class="formTable" border="1" cellspacing="2" cellpadding="5"></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;th class="dataHeading" colspan="2">Supplies Login&lt;/th></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;td class="dataLabelRight">User: *&lt;/td></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;td class="formValue">&lt;input type=text name=userId value="" onKeyPress="checkEnter(event)">&lt;/td></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;td class="dataLabelRight">Password: *&lt;/td></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;td class="formValue">&lt;input type=password name=password value=""
onKeyPress="checkEnter(event)">&lt;/td></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;td align="center" class="formButton" colspan="2">&lt;center>&lt;input
type="button" value="Logon" onClick="submitLogon()">&lt;center>&lt;/td></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/table></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/td></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;p
class="pageText"></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;i>Required fields are marked with a *&lt;/i></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/p></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/td></font>
<br><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr></font>
<br><font size=-1>&nbsp;&nbsp; &lt;/table></font>
<br><font size=-1>&nbsp;&nbsp; &lt;/form></font><font size=-1></font>
<p><font size=-1>&nbsp;&nbsp; &lt;!-- Page Footer --></font>
<br><font size=-1>&nbsp;&nbsp; #parse("footer.vm")</font>
<br><font size=-1>&nbsp;</font>
<br><font size=-1>&lt;/body></font>
<br><font size=-1>&lt;/html></font>
<p><b><font size=+3>loginOrderQuery.xml:::</font></b>
<br><b><font size=-1>&lt;invoke</font></b>
<br><b><font size=-1>&nbsp;stepid="Get to the login page"</font></b>
<br><b><font size=-1>&nbsp;url="Logon.do?action=init"/></font></b>
<br><b><font size=-1>&lt;setinputfield</font></b>
<br><b><font size=-1>&nbsp;stepid="Set user name"</font></b>
<br><b><font size=-1>&nbsp;name="userId"</font></b>
<br><b><font size=-1>&nbsp;value="joe" /></font></b>
<br><b><font size=-1>&lt;setinputfield</font></b>
<br><b><font size=-1>&nbsp;stepid="Set password"</font></b>
<br><b><font size=-1>&nbsp;name="password"</font></b>
<br><b><font size=-1>&nbsp;value="xxxx" /></font></b>
<br><b><font size=-1>&lt;clickbutton</font></b>
<br><b><font size=-1>&nbsp;stepid="Clicking the button"</font></b>
<br><b><font size=-1>&nbsp;label="Logon"/></font></b>
<br><b><font size=-1>&lt;verifytitle</font></b>
<br><b><font size=-1>&nbsp;stepid="Order Query page should follow after
Logon pressed"</font></b>
<br><b><font size=-1>&nbsp;text="Supplies Order Query" /></font></b>
<br><font size=-1></font>&nbsp;</html>

--Boundary_(ID_Ci5pMIkL71qjFqbJCeD5YQ)--