Hi Marc,
I'm not sure how to answer that question, there is definitely JS in the
page, for example:
<body onload="javascript: if ('Navigator' == navigator.appName &&
document.forms.length > 0) document.forms[0].reset();">

We have easyajax=true.

This page hasn't been changed in about a year, and the WebTest script has
worked fine all that time, until this new version. It's not a big deal, I
just won't upgrade, but I'd like to know if something has changed and we
have to do our script differently for some reason, or what.
thanks,
Lisa

On Wed, May 20, 2009 at 1:58 AM, Marc Guillemot <[email protected]> wrote:

> Hi Lisa,
>
> is the page generated dynamically with JS? Do you set the easyajax option?
>
> Cheers,
> Marc.
> --
> Web: http://www.efficient-webtesting.com
> Blog: http://mguillem.wordpress.com
>
> Lisa Crispin wrote:
> > 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
> >
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>



-- 
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