To debug an issue, I normally turn the logging up (edit log4j.properties in
WEBTEST_HOME/lib) to debug to see a bit more information about what it's
trying to do.

cheers

Lee

2009/5/13 Lisa Crispin <[email protected]>

> I noticed WebTest 3 is out. We are currently at build 1710 with no
> problems, I just thought there were some nice new features. I installed
> build 1766 and ran all our tests. One module used by multiple tests is
> failing strangely. No error, but it doesn't actually do the submitButton, so
> the verifyText that expects the next page fails.
>
> This is the WebTest code:
>  <selectForm description="set context to employee or plan form"
> name="${checkType}" />
>   <clickbutton description="Press Select Checks"
>     name="submitButton" />
>
> Normally, this takes 800+ milliseconds and does bring up the correct page.
> However, with build 1766, it is going by very quickly (70 ms) and nothing is
> happening, it's staying on the same page.
>
> Here's the html for the form that should have been selected and submitted:
>
>         <form name="planForm" method="post">
>
>             <input type="hidden" name="userType" value="PLAN_SPONSOR"/>
>
>
>             <table class="formPanelBoxed" border="0" cellpadding="2" 
> cellspacing="2" width="100%">
>
>
>                 <tr><td class="formHead" colspan="3">Plan</td></tr>
>
>                 <tr><td class="col1"><label class="indent">Check 
> Type:</label></td>
>
>
>                     <td colspan="2">                <select id="checkTypeId" 
> name="checkTypeId" >
>
>
>                     <option value="0"
>                             selected="selected"
>
>             >
>             All</option>
>                     <option value="20"
>
>             >
>             Payroll Contribution</option>
>                     <option value="25"
>
>             >
>
>             Profit Sharing</option>
>                     <option value="27"
>
>             >
>             Safe Harbor NEC</option>
>                     <option value="41"
>
>             >
>             Conversion Asset Transfer</option>
>             </select>
> </td>
>                 </tr>
>
>                 <tr><td class="col1"><label class="indent">Plan 
> Name:</label></td>
>
>
>                     <td class="col2">                <input type="text" 
> id="planFilter" name="planFilter" value="" size="25" maxlength="40"> </td>
>
>
>                     <td class="col3">
>     <input name="submitButton" id="submitButton" type="submit" value="Select 
> Checks" onclick="javascript: submitButtonSingleClick();"/>
>
>
> </td>
>                 </tr>
>             </table>
>         </form>
>
>
> Is there any known problem around this, and if not, how can I go about
> debugging this?
> thanks
> Lisa
>
> --
> Lisa Crispin
> Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
> and Agile Teams_ (Addison-Wesley 2009)
> http://lisacrispin.com
>
>

Reply via email to