i have the similar problem while migrating to the newer version R_1809. clickElement does not work.
--Srini On Thu, Sep 9, 2010 at 2:32 PM, Lisa Crispin <[email protected]> wrote: > We've been using WebTest for more than 6 years and our scripts run multiple > times per day via hudson. > > We have some extra time so I wanted to upgrade to the latest version. > Currently we have version R_1762. When I installed R_1809, the scripts that > click this button started failing. There's no error message, it just doesn't > do anything, so the next step fails because it didn't submit the page and > get to the next page in the UI. > > The html is: > <input name="submitButton" id="submitButton" type="submit" value="Accept > Plan Documents" onclick="javascript: submitButtonSingleClick();"/> > > The script has: > <clickButton description="click accept plan documents > button" > name="submitButton" /> > > I searched around in the archives, found a mention of enableJavaScript. > We've never used that, but I tried putting it in, it didn't help. There's > obviously javascript on the button, but since it hasn't caused problems in > the past 6 years, I'm surprised that it suddenly would. > > We'd like to stay current with our WebTest version. This is the only issue > I've found with the new version (though I still have more tests to run and > make sure). Please advise. It's only the one button, so if we need to change > the html, that wouldn't be too bad, we just need to know how to change it. > Thanks, > Lisa > > -- > Lisa Crispin > Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers > and Agile Teams_ (Addison-Wesley 2009) > Contributor to _Beautiful Testing_ (O'Reilly 2009) > http://lisacrispin.com > @lisacrispin on Twitter > >

