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

Aatish Arora webtest@lists.canoo.com
Fri, 16 Apr 2004 05:38:44 -0700 (PDT)


John

check ur <config> tag...
seems like u missed out the resultpath:

 >  [testSpec] Exception caught while writing test
> summary
> >  [testSpec] Message: Resultpath / ResultFile not
> set properly in
> > config      


cheers!
Aatish



--- "Smith, John C" <John.C.Smith@fnf.com> wrote:
> 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="Expires" CONTENT="-1">
> 
> <html lang="en">
>    <head>
>       <title>Search</title>
> 
>       <link href="eng/style/afstyle.css"
> type="text/css"
> rel="STYLESHEET"/>
> 
>       <script src=eng/jscript/functions.js
> language="JavaScript"></script>
> 
>       <script language="JavaScript">
>             function doSub(inForm)
>                {
>                  
> inForm.elements["LAPLSR01.srSearchAcctType"].value =
> inForm.searchType.value;
>                  
> inForm.elements["LAPLSR01.arRequestType"].value =
> inForm.searchBy.value;
>                   if(inForm.searchBy.value == "I" ||
> (inForm.searchType.value == "A" &&
> inForm.searchBy.value == "P"))
>                      {
>                        str1 = "/" +
> inForm.lName.value + " " +
> inForm.fName.value;
>                      }
>                   else
>                      {
>                         str1 = inForm.lgName.value;
>                      }
>                  var upCaseVer = str1.toUpperCase();
>                  str1 = upCaseVer;
>                 
> inForm.elements["LAPLSR01.srRequestData"].value =
> str1;
>                 
> inForm.elements["LAPLSD00.wkCurrActionCd"].value =
> "I";
>                  //inForm.submit();
>                }
> 
>            function setSrchBy(inVal,inForm, output)
>                {
>                   if(inVal.value == "C")
>                      {
>                         act = fctn2.val1;
>                      }
>                   else
>                      {
>                         act = fctn2.val2;
>                      }
>                   inForm.elements["searchBy"].length
> = act.length;
>                   for(i = 0; i < act.length; i++)
>                      {
>                        
> inForm.elements["searchBy"].options[i].text =
> act[i][0];
>                        
> inForm.elements["searchBy"].options[i].value =
> act[i][1];
>                      }
>                  
> inForm.elements["searchBy"].selectedIndex = 0;
>                  
> setInpFld(inForm.elements["searchBy"], inForm,
> output);
>                }
> 
>            function pvPg(inForm)
>               {
>    	          
> inForm.elements["LAPLSD00.wkCurrActionCd"].value =
> "P";
>                  window.location.href =
>
"ui.do?NewScreen=lapcsrx1&amp;SendDags=yes&amp;TSHEADER.pcBusModule=LAPC
> SRX1&amp;LAPLSD00.wkCurrActionCd=P";
>               }
> 
>            function nxtPg(inForm)
>               {
>                 
> inForm.elements["LAPLSD00.wkCurrActionCd"].value =
> "N";
>                  window.location.href =
>
"ui.do?NewScreen=lapcsrx1&amp;SendDags=yes&amp;TSHEADER.pcBusModule=LAPC
> SRX1&amp;LAPLSD00.wkCurrActionCd=N";
>               }
> 
>            function preload()
>               {
>                  //*** Request Types for Master File
> ***
>                  fctn2 = new Object();
>                  fctn2.val1 = new Array();
>                  fctn2.val1[0] = new Array();
>                  fctn2.val1[0][0] = "NAME-PERSONAL";
>                  fctn2.val1[0][1] = "I";
>                  fctn2.val1[1] = new Array();
>                  fctn2.val1[1][0] =
> "NAME-COMMERCIAL";
>                  fctn2.val1[1][1] = "B";
>                  fctn2.val1[2] = new Array();
>                  fctn2.val1[2][0] = "VIN";
>                  fctn2.val1[2][1] = "V";
>                  fctn2.val1[3] = new Array();
>                  fctn2.val1[3][0] = "SSN";
>                  fctn2.val1[3][1] = "S";
>                  fctn2.val1[4] = new Array();
>                  fctn2.val1[4][0] = "ADDRESS";
>                  fctn2.val1[4][1] = "A";
>                  fctn2.val1[5] = new Array();
>                  fctn2.val1[5][0] = "ZIP CODE";
>                  fctn2.val1[5][1] = "Z";
>                  fctn2.val1[6] = new Array();
>                  fctn2.val1[6][0] = "PAYMENT
> AMOUNT-LAST";
>                  fctn2.val1[6][1] = "H";
>                  fctn2.val1[7] = new Array();
>                  fctn2.val1[7][0] = "PAYMENT
> AMOUNT-NEXT";
>                  fctn2.val1[7][1] = "P";
> 		     fctn2.val1[8] = new Array();
>                  fctn2.val1[8][0] = "LICENSE
> NUMBER";
>                  fctn2.val1[8][1] = "R";
> // Brennan - commented these 10/17/03.  (Dealer Name
> search logic is not
> in HSA)
> //		     fctn2.val1[9] = new Array();
> //                 fctn2.val1[9][0] = "DEALER NAME";
> //                 fctn2.val1[9][1] = "N";
> 
>                  //*** Request Types for Archived
> Account ***
>                  fctn2.val2 = new Array();
>                  fctn2.val2[0] = new Array();
>                  fctn2.val2[0][0] = "NAME-PERSONAL";
>                  fctn2.val2[0][1] = "I";
>                  fctn2.val2[1] = new Array();
>                  fctn2.val2[1][0] =
> "NAME-COMMERCIAL";
>                  fctn2.val2[1][1] = "B";
>                  fctn2.val2[2] = new Array();
>                  fctn2.val2[2][0] = "ACCOUNT
> NUMBER";
>                  fctn2.val2[2][1] = "A";
>                  fctn2.val2[3] = new Array();
>                  fctn2.val2[3][0] =
> "CO-BORROWER-INDIVIDUAL";
>                  fctn2.val2[3][1] = "P";
>                  fctn2.val2[4] = new Array();
>                  fctn2.val2[4][0] =
> "CO-BORROWER-COMPANY";
>                  fctn2.val2[4][1] = "C";
>                  fctn2.val2[5] = new Array();
>                  fctn2.val2[5][0] = "SSN";
>                  fctn2.val2[5][1] = "S";
>                  fctn2.val2[6] = new Array();
>                  fctn2.val2[6][0] = "VIN";
>                  fctn2.val2[6][1] = "V";
>               }
> 
>            function preload2(formIn, out1)
>             {
>               
>
if(formIn.elements["LAPLSR01.srSearchAcctType"].value
> !=
> "" &&
> formIn.elements["LAPLSR01.arRequestType"].value !=
> "")
>                   {
>                      formIn.searchType.value =
> formIn.elements["LAPLSR01.srSearchAcctType"].value;
>                      setSrchBy(formIn.searchType,
> formIn, out1);
>                      formIn.searchBy.value =
> formIn.elements["LAPLSR01.arRequestType"].value;
>                      setInpFld(formIn.searchBy,
> formIn, out1);
>                      if((formIn.searchType.value ==
> "C" &&
> formIn.searchBy.value == "I") ||
>                         (formIn.searchType.value ==
> "A" &&
> (formIn.searchBy.value == "I"  ||
>  
> formIn.searchBy.value == "P")))
>                         {
>                            var newStr =
> 
=== message truncated ===



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