[Webtest] RE: Click button "HTM Page" failed

Smith, John C webtest@lists.canoo.com
Wed, 14 Apr 2004 09:12:52 -0500


Thank you for your response to my inquiry.  I have included the
following scripts, HTML page, all_tests.xml (Main driver), and smoke.xml
(1 test suite). Let me know if you need any additional information.

<META HTTP-EQUIV=3D"Expires" CONTENT=3D"-1">

<html lang=3D"en">
   <head>
      <title>Search</title>

      <link href=3D"eng/style/afstyle.css" type=3D"text/css"
rel=3D"STYLESHEET"/>

      <script src=3Deng/jscript/functions.js
language=3D"JavaScript"></script>

      <script language=3D"JavaScript">
            function doSub(inForm)
               {
                  inForm.elements["LAPLSR01.srSearchAcctType"].value =3D
inForm.searchType.value;
                  inForm.elements["LAPLSR01.arRequestType"].value =3D
inForm.searchBy.value;
                  if(inForm.searchBy.value =3D=3D "I" ||
(inForm.searchType.value =3D=3D "A" && inForm.searchBy.value =3D=3D =
"P"))
                     {
                       str1 =3D "/" + inForm.lName.value + " " +
inForm.fName.value;
                     }
                  else
                     {
                        str1 =3D inForm.lgName.value;
                     }
                 var upCaseVer =3D str1.toUpperCase();
                 str1 =3D upCaseVer;
                 inForm.elements["LAPLSR01.srRequestData"].value =3D =
str1;
                 inForm.elements["LAPLSD00.wkCurrActionCd"].value =3D =
"I";
                 //inForm.submit();
               }

           function setSrchBy(inVal,inForm, output)
               {
                  if(inVal.value =3D=3D "C")
                     {
                        act =3D fctn2.val1;
                     }
                  else
                     {
                        act =3D fctn2.val2;
                     }
                  inForm.elements["searchBy"].length =3D act.length;
                  for(i =3D 0; i < act.length; i++)
                     {
                        inForm.elements["searchBy"].options[i].text =3D
act[i][0];
                        inForm.elements["searchBy"].options[i].value =3D
act[i][1];
                     }
                  inForm.elements["searchBy"].selectedIndex =3D 0;
                  setInpFld(inForm.elements["searchBy"], inForm,
output);
               }

           function pvPg(inForm)
              {
   	           inForm.elements["LAPLSD00.wkCurrActionCd"].value =3D
"P";
                 window.location.href =3D
"ui.do?NewScreen=3Dlapcsrx1&amp;SendDags=3Dyes&amp;TSHEADER.pcBusModule=3D=
LAPC
SRX1&amp;LAPLSD00.wkCurrActionCd=3DP";
              }

           function nxtPg(inForm)
              {
                 inForm.elements["LAPLSD00.wkCurrActionCd"].value =3D =
"N";
                 window.location.href =3D
"ui.do?NewScreen=3Dlapcsrx1&amp;SendDags=3Dyes&amp;TSHEADER.pcBusModule=3D=
LAPC
SRX1&amp;LAPLSD00.wkCurrActionCd=3DN";
              }

           function preload()
              {
                 //*** Request Types for Master File ***
                 fctn2 =3D new Object();
                 fctn2.val1 =3D new Array();
                 fctn2.val1[0] =3D new Array();
                 fctn2.val1[0][0] =3D "NAME-PERSONAL";
                 fctn2.val1[0][1] =3D "I";
                 fctn2.val1[1] =3D new Array();
                 fctn2.val1[1][0] =3D "NAME-COMMERCIAL";
                 fctn2.val1[1][1] =3D "B";
                 fctn2.val1[2] =3D new Array();
                 fctn2.val1[2][0] =3D "VIN";
                 fctn2.val1[2][1] =3D "V";
                 fctn2.val1[3] =3D new Array();
                 fctn2.val1[3][0] =3D "SSN";
                 fctn2.val1[3][1] =3D "S";
                 fctn2.val1[4] =3D new Array();
                 fctn2.val1[4][0] =3D "ADDRESS";
                 fctn2.val1[4][1] =3D "A";
                 fctn2.val1[5] =3D new Array();
                 fctn2.val1[5][0] =3D "ZIP CODE";
                 fctn2.val1[5][1] =3D "Z";
                 fctn2.val1[6] =3D new Array();
                 fctn2.val1[6][0] =3D "PAYMENT AMOUNT-LAST";
                 fctn2.val1[6][1] =3D "H";
                 fctn2.val1[7] =3D new Array();
                 fctn2.val1[7][0] =3D "PAYMENT AMOUNT-NEXT";
                 fctn2.val1[7][1] =3D "P";
		     fctn2.val1[8] =3D new Array();
                 fctn2.val1[8][0] =3D "LICENSE NUMBER";
                 fctn2.val1[8][1] =3D "R";
// Brennan - commented these 10/17/03.  (Dealer Name search logic is not
in HSA)
//		     fctn2.val1[9] =3D new Array();
//                 fctn2.val1[9][0] =3D "DEALER NAME";
//                 fctn2.val1[9][1] =3D "N";

                 //*** Request Types for Archived Account ***
                 fctn2.val2 =3D new Array();
                 fctn2.val2[0] =3D new Array();
                 fctn2.val2[0][0] =3D "NAME-PERSONAL";
                 fctn2.val2[0][1] =3D "I";
                 fctn2.val2[1] =3D new Array();
                 fctn2.val2[1][0] =3D "NAME-COMMERCIAL";
                 fctn2.val2[1][1] =3D "B";
                 fctn2.val2[2] =3D new Array();
                 fctn2.val2[2][0] =3D "ACCOUNT NUMBER";
                 fctn2.val2[2][1] =3D "A";
                 fctn2.val2[3] =3D new Array();
                 fctn2.val2[3][0] =3D "CO-BORROWER-INDIVIDUAL";
                 fctn2.val2[3][1] =3D "P";
                 fctn2.val2[4] =3D new Array();
                 fctn2.val2[4][0] =3D "CO-BORROWER-COMPANY";
                 fctn2.val2[4][1] =3D "C";
                 fctn2.val2[5] =3D new Array();
                 fctn2.val2[5][0] =3D "SSN";
                 fctn2.val2[5][1] =3D "S";
                 fctn2.val2[6] =3D new Array();
                 fctn2.val2[6][0] =3D "VIN";
                 fctn2.val2[6][1] =3D "V";
              }

           function preload2(formIn, out1)
            {
               if(formIn.elements["LAPLSR01.srSearchAcctType"].value =
!=3D
"" && formIn.elements["LAPLSR01.arRequestType"].value !=3D "")
                  {
                     formIn.searchType.value =3D
formIn.elements["LAPLSR01.srSearchAcctType"].value;
                     setSrchBy(formIn.searchType, formIn, out1);
                     formIn.searchBy.value =3D
formIn.elements["LAPLSR01.arRequestType"].value;
                     setInpFld(formIn.searchBy, formIn, out1);
                     if((formIn.searchType.value =3D=3D "C" &&
formIn.searchBy.value =3D=3D "I") ||
                        (formIn.searchType.value =3D=3D "A" &&
(formIn.searchBy.value =3D=3D "I"  ||
=20
formIn.searchBy.value =3D=3D "P")))
                        {
                           var newStr =3D
formIn.elements["LAPLSR01.srRequestData"].value;
                           var fNamePos =3D newStr.search(" ");
                           if(fNamePos =3D=3D -1)
                              {
                                 formIn.lName.value =3D
newStr.substr(1,newStr.length);
                              }
                           else
                              {
                                 formIn.lName.value =3D
newStr.substr(1,(fNamePos - 1));
                                 formIn.fName.value =3D
newStr.substr(fNamePos + 1);
                              }
                        }
                     else
                        {
                           if(formIn.searchType.value !=3D "")
                              formIn.lgName.value =3D
formIn.elements["LAPLSR01.srRequestData"].value;
                        }
                  }
            }
      </script>
   </head>

   <body onUnload=3D"javascript:closeNoteWindow()">
      <script language=3D"JavaScript">
         // *** PRELOAD OPTIONS ***
         preload();
      </script>
      <form name=3D"lapcsrx1" method=3D"POST" action=3D"/uinew/ui.do"
onsubmit=3D"submitHandler();">
        =20
        =20
        =20

    <input type=3D"hidden" name=3D"ScreenName" value=3D"lapcsrx1">
	<input type=3D"hidden" name=3D"TranId" value=3D"LAPCSRX1">
	<input type=3D"hidden" name=3D"LAPLSD00.rtCtl1" value=3D"50">
	<input type=3D"hidden" name=3D"LAPLSD00.rtCtl3" value=3D"000">
	<input type=3D"hidden" name=3D"LAPLSD00.rtCtl4" value=3D"0000">
	<input type=3D"hidden" name=3D"TSHEADER.pcBusModule"
value=3D"LAPCSRX1">
	<input type=3D"hidden" name=3D"LAPLSD00.plLoanNum" value=3D"0">
	<input type=3D"hidden" name=3D"LAPLSD00.plEffDate" value=3D"">=20
           <input type=3D"hidden" name=3D"LAPLSD00.wkCurrActionCd" =
value=3D"">
           <input type=3D"hidden" name=3D"LAPLSR01.srSearchAcctType"
value=3D"">
           <input type=3D"hidden" name=3D"LAPLSR01.srRequestData" =
value=3D"">
           <input type=3D"hidden" name=3D"LAPLSR01.srTopKey" value=3D"">
           <input type=3D"hidden" name=3D"LAPLSR01.srBottomKey" =
value=3D"">
           <input type=3D"hidden" name=3D"LAPLSR01.arRequestType" =
value=3D"">
           <input type=3D"hidden" name=3D"LAPLSD00.PlEffDate" value=3D" =
">
           <input type=3D"hidden" name=3D"LAPLSD00.PlLoanNum" value=3D" =
">
           <a name=3D"top"/>
           <table class=3D"TopTable" cellspacing=3D"0" cellpadding=3D"0"
border=3D"0" width=3D"980">
           =20
            <tr>
              =20
               <td width=3D"150">
                  <img src=3D"eng/images/alltel_logo.gif" =
width=3D"150"/>
               </td>
              =20
               <td width=3D"825">
                  <table cellspacing=3D"0" cellpading=3D"0" border=3D"0"
width=3D"825">
                    =20
                     <tr>
               <td class=3D"sepline" align=3D"right">
                  <i>Advanced Lending Solutions - Automotive Finance</i>
               </td>
                     </tr>
                    =20
                     <tr>
                        <td class=3D"sepline">
                           <table cellspacing=3D"0" cellpading=3D"0"
border=3D"0" width=3D"825">
                              <td width=3D"55"><font color=3D"black">
                                 Division:
								 </font>
                              </td>
                              <td width=3D"120">
                                =20
                                 <select =
name=3D"LAPLSD00.rtCtl2"><option
value=3D"">--SELECT--</option>
                                    <option value=3D"43">CANADA</option>
                                    <option =
value=3D"44">CENTRAL</option>
                                    <option
value=3D"47">NORTHEAST</option>
				    <option
value=3D"51">NORTHWEST</option>
				    <option
value=3D"83">SOUTHEAST</option>
				    <option
value=3D"84">SOUTHWEST</option></select>
                              </td>
                              <td width=3D"8">&nbsp;</td>
                              <td width=3D"55">&nbsp;</td>
                              <td width=3D"30">&nbsp;</td>
                              <td width=3D"8">&nbsp;</td>
                              <td width=3D"45">&nbsp;</td>
                              <td width=3D"120">&nbsp;</td>
                              <td width=3D"15"> &nbsp;</td>
                              <td width=3D"185">&nbsp;</td>
                              <td width=3D"69"> &nbsp;</td>
                              <td width=3D"115">
                                 =20
                                          <a
href=3D"javascript:openHelpWindowWithClose('eng/webhelp/customer_search/c=
u
stomer_search_screen_help.htm')">
                                             <img
src=3D"eng/images/HelpIcon.gif" name=3D"inqhelpMenu" border=3D"0"
value=3D"inqhelpMenu" />
                                          </a>
                                 =20
                              </td>
                           </table>
                        </td>
                     </tr>
                     <tr>
                        <td height=3D"5">&nbsp;</td>
                     </tr>
                     <tr>
                       =20
                        <td class=3D"hdLabel">
                           Search Options
                        </td>
                     </tr>
					 <tr>
          				<td><center><img
src=3D"eng/images/grpdiv.gif" align=3D"top" height=3D"6" width=3D"100%"
border=3D"0"></center>
          				</td>
                    =20
                     <tr>
                        <td class=3D"sepline" height=3D"35" =
valign=3D"center">
                           <table cellspacing=3D"0" cellpading=3D"0"
border=3D"0" width=3D"825">
                              <tr class=3D"hdLabel"><font =
color=3D"black">
                                 <td width=3D"35"><font color=3D"black">
                                    Type:</font>
                                 </td>
                                 <td width=3D"135"><font =
color=3D"black">
                                    <select name=3D"searchType"
onchange=3D"setSrchBy(this,this.form, inArea);">
                                       <option id=3D"choice1"
value=3D"C">ACTIVE/CLOSED</option>
                                       <option id=3D"choice2"
value=3D"A">ARCHIVE</option>
                                    </select></font>
                                 </td>
                                 <td width=3D"8">&nbsp;</td>
                                 <td width=3D"20"><font color=3D"black">
                                    By:
=09
</font>
                                 </td>
                                 <td width=3D"191">
                                    <select name=3D"searchBy"
onchange=3D"setInpFld(this, this.form, inArea);">
                                       <option
value=3D"I">NAME-PERSONAL</option>
                                       <option
value=3D"B">NAME-COMMERCIAL</option>
                                       <option value=3D"V">VIN</option>
                                       <option value=3D"S">SSN</option>
                                       <option
value=3D"A">ADDRESS</option>
                                       <option value=3D"Z">ZIP
CODE</option>
                                       <option value=3D"H">PAYMENT
AMOUNT-LAST</option>
                                       <option value=3D"P">PAYMENT
AMOUNT-NEXT</option>
						   <option
value=3D"R">LICENSE NUMBER</option>
						  =20
                                    </select>
								 </td>
                                 <td width=3D"8">&nbsp;</td =
class=3D"label">
                                 <td id=3D"inArea" width=3D"380"
align=3D"left" class=3D"label"><font color=3D"black">
                                    Last</font>
                                    &nbsp;
                                    <input type=3D"text" name=3D"lName"
size=3D"15" maxlength=3D"15"/>
                                    &nbsp;&nbsp;<font color=3D"black">
                                    First:</font>
                                    &nbsp;
                                    <input type=3D"text" name=3D"fName"
size=3D"15" maxlength=3D"15"/>
=09
</font>
                                 </td>
                                 <td width=3D"8">&nbsp;</td>
                                 <td width=3D"40">
                                    <input type=3D"image" name=3D""
src=3D"eng/images/go.gif" value=3D"btnGo"
onclick=3D"javascript:doSub(document.forms[0])"
style=3D"background:none;border:none">=20
                                   =20
                                 </td></font>
                              </tr>
                           </table>
                        </td>
                     </tr>
                  </table>
               </td>
            </tr>
           =20
            <tr>
              =20
               <td width=3D"150">
                 =20
                 =20
                 =20


<table class=3D"sideBarTable" width=3D"150">


<tr>
	<td width=3D"140" valign=3D"top" height=3D"5">

       =20
	=09
        <span id=3D"awmAnchor-site_map_beta"
style=3D"position:absolute"></span>&nbsp;=20
		<img name=3D"awmMenuPathImg-site_map_beta"
id=3D"awmMenuPathImg-site_map_beta" src=3D"eng/jscript/awmmenupath.gif"
style=3D"position:absolute;" width=3D"1" height=3D"1">
        <script>var MenuLinkedBy=3D"AllWebMenus [1]";
awmAltUrl=3D"";</script>
        <script src=3D'eng/jscript/site_map_beta.js'
language=3D"JavaScript1.2" type=3D"text/javascript"></script>
        <script>awmBuildMenu();</script>=20
	=09
       =20

    </td>
</tr>=09

<tr>
    <td width=3D"20" valign=3D"top">&nbsp;</td>
</tr>

<tr>
	<td>
	    &nbsp;
	</td>
</tr>

<tr>
    <td>
        &nbsp;
    </td>
</tr>

<tr>
     <td>
         &nbsp;
     </td>
</tr>

<tr>
    <td>
	    &nbsp;
    </td>
</tr>

<tr>
    <td>
        &nbsp;
    </td>
</tr>

<tr>
    <td>
        &nbsp;
    </td>
</tr>

<tr>
    <td>
        &nbsp;
    </td>
</tr>

<tr>
    <td>
        &nbsp;
    </td>
</tr>

<tr>
    <td>
        &nbsp;
    </td>
</tr>

<tr>
    <td>
        &nbsp;
    </td>
</tr>

<tr>
    <td>
        &nbsp;
    </td>
</tr>

<tr>
    <td>
        &nbsp;
    </td>
</tr>

<tr>
    <td align=3D"center" width=3D"100" height=3D"60">
        <a class=3D"hover" href=3D"ui.do?ChangeScreen=3Dlogoff"
title=3D"Logoff">
		   <img src=3D"eng/images/logoff.gif" border=3D"0"/>=20
		   <br><small>Logoff</small>
		</a>
    </td>
</tr>



<tr>
    <td align=3D"center" width=3D"100" height=3D"60">
	   =20

    </td>
</tr>



<tr>
    <td width=3D"100" height=3D"60" align=3D"center">
	    <a target=3D"new" href=3D"eng\webhelp\af-doc.htm" class=3D"hover"
>
           <img src=3D"eng/images/book07.gif" alt=3D"Help Options"
border=3D"0"/>
		   <br><small>Help Options</small>
		</a>
    </td>
</tr>


</table>	=09
                 =20
               </td>
               <td width=3D"825">
                  <table cellspacing=3D"0" cellpading=3D"0" border=3D"0"
width=3D"825">
                     <tr>
                        <td>&nbsp;</td>
                     </tr>
                     <tr>
                       =20
                        <td class=3D"mainTable" height=3D"480" =
valign=3D"top">
                           <table width=3D"825" cellspacing=3D"0"
cellpadding=3D"0">
                              <tr>
                                 <td>
                                    <table width=3D"825" =
cellspacing=3D"0"
cellpadding=3D"0">
                                       <tr>
                                          <td =
class=3D"transactionHeader"
width=3D"50">Search</td>
                                          <td class=3D"transactionMsg"
width=3D"750">
                                             &nbsp;
                                            =20
                                          </td>
                                       </tr>
                                    </table>
                                 </td>
                              </tr>
                              <tr>
                                 <td height=3D"3">&nbsp;</td>
                              </tr>
                              <tr>
                                 <td>
                                    <table width=3D"825"
style=3D"border-right: outset; border-top: outset; border-left: outset;
border-bottom: outset" cellpadding=3D"0" cellspacing=3D"0"
bordercolor=3D"silver" style=3D"border:outset;">
                                       <tr>
                                          <td class=3D"label" =
width=3D"188"
valign=3D"center" height=3D"6">Name</td>
                                          <td class=3D"label" =
width=3D"091"
valign=3D"center" height=3D"6">SSN</td>
                                          <td class=3D"label" =
width=3D"207"
valign=3D"center" height=3D"6">Address</td>
                                          <td class=3D"label" =
width=3D"136"
valign=3D"center" height=3D"6">Yr/Make/Model</td>
                                          <td class=3D"label" =
width=3D"176"
valign=3D"center" height=3D"6">
=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                             Color
                                          </td>
                                       </tr>
                                       <tr height=3D"25">
                                          <td class=3D"label" =
width=3D"188"
valign=3D"center" height=3D"6">Account Number/Status</td>
                                          <td class=3D"label" =
width=3D"091"
valign=3D"center" height=3D"6">Relationship</td>
                                          <td class=3D"label" =
width=3D"207"
valign=3D"center" height=3D"6">City/State/ZIP</td>
                                          <td class=3D"label" =
width=3D"136"
valign=3D"center" height=3D"6">VIN</td>
                                          <td class=3D"label" =
width=3D"176"
valign=3D"center" height=3D"6">
=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                             Payment Amt
                                          </td>
                                       </tr>
                                       <tr height=3D"25">
                                          <td class=3D"label" =
width=3D"188"
valign=3D"center" height=3D"6">&nbsp;</td>
                                          <td class=3D"label" =
width=3D"091"
valign=3D"center" height=3D"6">Acct Type</td>
                                          <td class=3D"label" =
width=3D"207"
valign=3D"center" height=3D"6">&nbsp;</td>
                                          <td class=3D"label" =
width=3D"136"
valign=3D"center" height=3D"6">Dealer Name</td>
                                          <td class=3D"label" =
width=3D"176"
valign=3D"center" height=3D"6">
=20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                             License
                                          </td>
                                       </tr>
                                      =20
                                      =20
                                    </table>
                                 </td>
                              </tr>
                              <tr>
                                 <td>
                                   =20
                                    <center>
   <table>
      <tr>
       =20
      </tr>
   </table>
</center>

                                   =20
                                 </td>
                              </tr>
                              <tr>
                                 <td>
                                   =20
                                 </td>
                              </tr>
                           </table>
                        </td>
                     </tr>
                  </table>
               </td>
            </tr>
         </table>
      </form>
<script language=3D"JavaScript" type=3D"text/javascript">
  <!--
    document.forms["lapcsrx1"].elements["LAPLSD00.rtCtl2"].focus()
  // -->
</script>

      <script language=3D"JavaScript">

            function setInpFld(selIn, formIn, output)
               {
                  if(formIn.elements["searchType"].value =3D=3D "C")
                     {
                        switch(selIn.selectedIndex)
                           {
                              case 0:
                                 {
                                    output.innerHTML =3D "Last: <input
type=3D'text' name=3D'lName' size=3D'15' maxlength=3D'15'>  First: =
<input
type=3D'text' name=3D'fName' size=3D'15' maxlength=3D'15'>";
                                    break;
                                 }
                              case 1:
                                 {
                                    output.innerHTML =3D "Name: <input
type=3D'text' name=3D'lgName' size=3D'40' maxlength=3D'40'>";
                                    break;
                                 }
                              case 2:
                                 {
                                    output.innerHTML =3D "VIN (LAST 6):
<input type=3D'text' name=3D'lgName' size=3D'6' maxlength=3D'6'>";
                                    break;
                                 }
                              case 3:
                                 {
                                    output.innerHTML =3D "SSN: <input
type=3D'text' name=3D'lgName' size=3D'10' maxlength=3D'10'>";
                                    break;
                                 }
                              case 4:
                                 {
                                    output.innerHTML =3D "Address: =
<input
type=3D'text' name=3D'lgName' size=3D'40' maxlength=3D'40'>";
                                    break;
                                 }
                              case 5:
                                 {
                                    output.innerHTML =3D "Zip Code: =
<input
type=3D'text' name=3D'lgName' size=3D'10' maxlength=3D'10'>";
                                    break;
                                 }
                              case 6:
                              case 7:
                                 {
                                    output.innerHTML =3D "Pmt Amt: =
<input
type=3D'text' name=3D'lgName' size=3D'40' maxlength=3D'40'>";
                                    break;
                                 }
					case 8:
                                 {
                                    output.innerHTML =3D "License: =
<input
type=3D'text' name=3D'lgName' size=3D'10' maxlength=3D'10'>";
                                    break;
                                 }
					case 9:
                                 {
                                    output.innerHTML =3D "Dealer: <input
type=3D'text' name=3D'lgName' size=3D'40' maxlength=3D'40'>";
                                    break;
                                 }
                           }
                     }
                  else
                     {
                        switch(selIn.selectedIndex)
                           {
                              case 0:
                                 {
                                    output.innerHTML =3D "Last: <input
type=3D'text' name=3D'lName' size=3D'15' maxlength=3D'15'>  First: =
<input
type=3D'text' name=3D'fName' size=3D'15' maxlength=3D'15'>";
                                    break;
                                 }
                              case 1:
                                 {
                                    output.innerHTML =3D "Name: <input
type=3D'text' name=3D'lgName' size=3D'40' maxlength=3D'40'>";
                                    break;
                                 }
                              case 2:
                                 {
                                    output.innerHTML =3D "Acct Nbr: =
<input
type=3D'text' name=3D'lgName' size=3D'14' maxlength=3D'14'>";
                                    break;
                                 }
                              case 3:
                                 {
                                    output.innerHTML =3D "Last: <input
type=3D'text' name=3D'lName' size=3D'15' maxlength=3D'15'>  First: =
<input
type=3D'text' name=3D'fName' size=3D'15' maxlength=3D'15'>";
                                    break;
                                 }
                              case 4:
                                 {
                                    output.innerHTML =3D "Name: <input
type=3D'text' name=3D'lgName' size=3D'40' maxlength=3D'40'>";
                                    break;
                                 }
                              case 5:
                                 {
                                    output.innerHTML =3D "SSN: <input
type=3D'text' name=3D'lgName' size=3D'10' maxlength=3D'10'>";
                                    break;
                                 }
                              case 6:
                                 {
                                    output.innerHTML =3D "VIN (FULL):
<input type=3D'text' name=3D'lgName' style=3D'width: 250px;' size=3D'17'
maxlength=3D'17'>";
                                    break;
                                 }
                           }
                     }
               }

            preload2(document.forms[0], inArea);
      </script>
   </body>
</html>

all_tests.xml:

<?xml version=3D"1.0"?>

<project name=3D"AllTestsSuite" default=3D"start" basedir=3D".">

  <!-- This section defines global static variables used for functional
testing  -->=20

   <!--  <property environment=3D"env"/>
   <property name=3D"webtest.home" value=3D"${env.WEBTESTHOME}"/>
  =20
   <taskdef file=3D"${webtest.home}/webtestTaskdefs.properties">
      <classpath>
         <fileset dir=3D"${webtest.home}" includes=3D"**/lib/*.jar"/>
	 <pathelement path=3D"${webtest.home}/lib"/>
      </classpath>
   </taskdef> -->
  =20
   <property name=3D"base.dir" value=3D"${basedir}"/>
   <property name=3D"webtest.home" value=3D"${base.dir}/../.."/>

    <taskdef file=3D"${webtest.home}/webtestTaskdefs.properties">
       <classpath>
          <fileset dir=3D"${webtest.home}" includes=3D"**/lib/*.jar"/>
	  <pathelement path=3D"${webtest.home}/lib"/>
       </classpath>
    </taskdef>

  <!--  <taskdef name=3D"testSpec"
classname=3D"com.canoo.webtest.ant.TestSpecificationTask">
      <classpath>
         <fileset dir=3D"${webtest.home}" includes=3D"**/lib/*.jar"/>
	 <pathelement path=3D"${webtest.home}/lib"/>
      </classpath>
   </taskdef>  -->
  =20
  =20
   <!-- This section defines the individual targets included in the lls
functional test system  -->
   <target name=3D"start" depends=3D"clean, runAll, arcBuild"/>
  =20
   <!-- This section will delete test results from previous test runs
-->
   <target name=3D"clean">
	<delete>
		<fileset dir=3D"${base.dir}/results"
includes=3D"lastResponse*.html,TestSummary*.xml"/>
	</delete>
   </target>
     =20
   <!-- This section defines high-level functional build test targets
-->
   <target name=3D"runAll" depends=3D"clean">
     =20
      <ant antfile=3D"smoke.xml"/>
      <!-- ant antfile=3D"accruals.xml"/>
      <ant antfile=3D"depreciation.xml"/>
      <ant antfile=3D"payments.xml"/>
      <ant antfile=3D"billing.xml"/>
      <ant antfile=3D"endTerm.xml"/>
      <ant antfile=3D"payoff.xml"/>
      <ant antfile=3D"bydwnSubv.xml"/>
      <ant antfile=3D"extensions.xml"/>
      <ant antfile=3D"rcrdRetention.xml"/>
      <ant antfile=3D"chargeoffs.xml"/>
      <ant antfile=3D"fees.xml"/>
      <ant antfile=3D"rejReentry.xml"/>
      <ant antfile=3D"clientServer.xml"/>
      <ant antfile=3D"finCorrections.xml"/>
      <ant antfile=3D"repossessions.xml"/>
      <ant antfile=3D"customer.xml"/>
      <ant antfile=3D"flatCancel.xml"/>
      <ant antfile=3D"securitization.xml"/>
      <ant antfile=3D"dealer.xml"/>
      <ant antfile=3D"insAddOn.xml"/>
      <ant antfile=3D"taxes.xml"/>
      <ant antfile=3D"delinquency.xml"/>
      <ant antfile=3D"newBusiness.xml"/-->
     =20
   </target>
   <!-- This section will copy test system build results from
results/tmp to results/final -->
   <target name=3D"arcBuild" depends=3D"runAll">

   </target>
</project>

smoke.xml:

<?xml version=3D"1.0"?>

<!DOCTYPE project SYSTEM "WebTest.dtd" [
        <!ENTITY config SYSTEM "properties\config.xml">
	<!ENTITY tranid SYSTEM "modules\tranid.xml">
	<!ENTITY logon SYSTEM "modules\logon.xml">
	<!ENTITY search1 SYSTEM "useCases\df_rsec_proj_search1.xml">
	<!ENTITY search2 SYSTEM "useCases\df_rsec_proj_search2.xml">
	<!ENTITY searchall SYSTEM "useCases\df_rsec_proj_searchall.xml">
	<!ENTITY searchPersonal SYSTEM
"useCases\df_rsec_proj_searchPersonal.xml">
	<!ENTITY AcctInquiry-Lease SYSTEM
"useCases\df_rsec_proj_AcctInquiry-Lease.xml">
	<!ENTITY AcctInquiry-Retail SYSTEM
"useCases\df_rsec_proj_AcctInquiry-Retail.xml">
	<!ENTITY CustInquiry SYSTEM
"useCases\df_rsec_proj_CustInquiry.xml">
	<!ENTITY AcctHistory SYSTEM
"useCases\df_rsec_proj_AcctHistory.xml">
	<!ENTITY History SYSTEM "useCases\df_rsec_proj_History.xml">
	<!ENTITY InvoiceReq SYSTEM
"useCases\df_rsec_proj_InvoiceReq.xml">
	<!ENTITY StmtAcct SYSTEM "useCases\df_rsec_proj_StmtAcct.xml">
	<!ENTITY MonTran SYSTEM "useCases\df_rsec_proj_MonTran.xml">
	<!ENTITY MonTran-J SYSTEM "useCases\df_rsec_proj_MonTran-J.xml">
	<!ENTITY Reversal SYSTEM "useCases\df_rsec_proj_Reversal.xml">
	<!ENTITY Reversal-1 SYSTEM
"useCases\df_rsec_proj_Reversal-1.xml">
	<!ENTITY PayoffQuote SYSTEM
"useCases\df_rsec_proj_PayoffQuote.xml">
	<!ENTITY Payoff SYSTEM "useCases\df_rsec_proj_Payoff.xml">
	<!ENTITY FeeSummary SYSTEM
"useCases\df_rsec_proj_FeeSummary.xml">
	<!ENTITY FeeWaive SYSTEM "useCases\df_rsec_proj_FeeWaive.xml">
	<!ENTITY AcctMessages SYSTEM
"useCases\df_rsec_proj_AcctMessages.xml">
	<!ENTITY AmortSchedule SYSTEM
"useCases\df_rsec_proj_AmortSchedule.xml">
	<!ENTITY BillingChange SYSTEM
"useCases\df_rsec_proj_BillingChange.xml">
	<!ENTITY Extension SYSTEM "useCases\df_rsec_proj_Extension.xml">
	<!ENTITY CustomerUpdate SYSTEM
"useCases\df_rsec_proj_CustomerUpdate.xml">
	<!ENTITY LeaseDeferrals SYSTEM
"useCases\df_rsec_proj_LeaseDeferrals.xml">
	<!ENTITY Termination SYSTEM
"useCases\df_rsec_proj_Termination.xml">
	<!ENTITY VehicleDisposal SYSTEM
"useCases\df_rsec_proj_VehicleDisposal.xml">
	<!ENTITY PostTermAct SYSTEM
"useCases\df_rsec_proj_PostTermAct.xml">
	<!ENTITY SearchArchive SYSTEM
"useCases\df_rsec_proj_SearchArchive.xml">
	<!ENTITY Dealer SYSTEM "useCases\df_rsec_proj_Dealer.xml">
	<!ENTITY DealerSetup SYSTEM
"useCases\df_rsec_proj_DealerSetup.xml">
	<!ENTITY DueDtChg SYSTEM "useCases\df_rsec_proj_DueDtChg.xml">
	<!ENTITY Collateral SYSTEM
"useCases\df_rsec_proj_Collateral.xml">
	<!ENTITY Subvention SYSTEM
"useCases\df_rsec_proj_Subvention.xml">
	<!ENTITY RejReent SYSTEM "useCases\df_rsec_proj_RejReent.xml">=09
]>=20

<project name=3D"AnnetteTestScript" basedir=3D"." default=3D"main">

<!--  <taskdef file=3D"${webtest.home}/webtestTaskdefs.properties">
   <classpath>
      <pathelement path=3D"${webtest.home}/lib"/>
      <fileset dir=3D"${webtest.home}" includes=3D"**/lib/*.jar"/>
   </classpath>
</taskdef>
-->
  <!--  <property file=3D"properties/llsTest.properties"/> -->
=20
   <target name=3D"main" depends=3D"tests"/>

   <property file=3D"properties\llsTest.properties"/>

   <target name=3D"tests">
    	<testSpec name=3D"tests">
	  	&config;
        <steps>	=09
		&logon;
=09
		<!-- search=20
		<echo message=3D"search has started"/> -->
		&searchall; =20
		&searchPersonal; =20
		=09
		<!-- lease account inquiry  -->=20
		&AcctInquiry-Lease; =20
	=09
 		<!-- account history  -->
		&AcctHistory;
      		&History;=09
		&InvoiceReq;   =20
		&StmtAcct; =20

		<!-- monetary transaction -->
		&MonTran;	=20
		&Reversal;  =20

		<!-- fee summary/waive	-->
		&FeeSummary;   =20
   		<!--	&FeeWaive;  (can't reverse automatically due to
disable) -->

		<!-- billing change -->
		&BillingChange;  =20

		<!-- customer update -->
		&CustomerUpdate;   =20

		<!-- mock-up screens -->
		&LeaseDeferrals;  =20
		&Termination;=09
		&VehicleDisposal;=20
		&PostTermAct;       =20

		<!-- retail account inquiry -->
		&AcctInquiry-Retail;=09

		<!-- due date change -->
		&DueDtChg;=09

		<!-- amortization schedule -->
		&AmortSchedule;	  =09
=09
		<!-- extension    --> =20
		&Extension;=09

		<!-- collateral -->
		&Collateral;	=09

		<!-- payoff 	-->
		&Payoff;	=09

		<!-- subvention -->
		&Subvention;	=09

		<!-- search archive -->
		&SearchArchive;	=09

		<!-- dealer -->
		&DealerSetup;=09

		<!-- reject-reentry   -->
		&RejReent;=09
			=09
	</steps>
	</testSpec>
	</target>
			     =20
</project>
=09



-----Original Message-----
From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com] On Behalf Of Aatish Arora
Sent: Saturday, April 10, 2004 3:02 AM
To: webtest@lists.canoo.com
Subject: Re: [Webtest] RE: Click button "HTM Page" failed


John,

Can u also post the html page and ur script?

Aatish


--- "Smith, John C" <John.C.Smith@fnf.com> wrote:
>=20
> Can anyone offer any assistance with my issue?  Here
> is my classpath:
>=20
>
%ANT_HOME%\bin;%JAVA_HOME%\lib\tools.jar;%ANT_HOME%\lib\xercesImpl.jar
>=20
> Thanks
> >  -----Original Message-----
> > From: 	Smith, John C =20
> > Sent:	Monday, April 05, 2004 2:21 PM
> > To:	'webtest@lists.canoo.com'
> > Subject:	Click button "HTM Page" failed
> >=20
> >=20
> > Can someone assist me in identifying how to
> correct this issue?
> >=20
> > [testSpec] Start Step: clickbutton "Search2: Click
> the go button"
> > (18/493)
> >  [testSpec] Report class:
> com.canoo.webtest.reporting.XmlReporter
> >  [testSpec] Exception caught while writing test
> summary
> >  [testSpec] Message: Resultpath / ResultFile not
> set properly in
> > config      =20
> >=20
> > BUILD FAILED
> >
> file:D:/java/Canoo_Build432/test_root/smoke.xml:62:
> Test failed.
> > Test step clickbutton named "Search2: Click the go
> button" failed with
> > message "Illegal parameter LAPLSD00.wkCurrActionCd
> in form [lapcsrx1,
> > POST, /uinew/ui.do, , , _top, , POST request for
> >
>
(http://afdev:8080/uinew/ui.do?SendDags=3Dyes&NewScreen=3Dlapcsrx1)
> > /uinew/ui.do] with message <Parameter
> 'LAPLSD00.wkCurrActionCd' must
> > have the value ''. Attempted to set it to: { I }>
> "
> > 	at
> >
>
com.canoo.webtest.ant.TestSpecificationTask.stopBuildIfNeeded(TestSpec
> > ificationTask.java:78)
> > 	at
> >
>
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationT
> > ask.java:72)
> > 	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.apache.tools.ant.Project.executeTargets(Project.java:1255)
> > 	at
> org.apache.tools.ant.Main.runBuild(Main.java:609)
> > 	at org.apache.tools.ant.Main.start(Main.java:196)
> > 	at org.apache.tools.ant.Main.main(Main.java:235)
> >=20
> > Total time: 34 seconds
> > Process ant exited with code 0
>=20


__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html