Hi Phumza, I looked at the html for our buttons and I notice we don't have any that are class="contentbutton", ours are class="formbutton" or class="widebutton". I have no idea if that makes any difference (I'm not a programmer), just throwing that out there. We had problems in the past with buttons not being recognized, but not lately. -- Lisa
On Mon, Mar 2, 2009 at 2:30 AM, Phumza Zuba <[email protected]> wrote: > Hi All > I have a login button inside a form, in a jsp page, but when i direct > webtest to find that button and use it, it can't fine it. > I thought maybe it was something to do with javascript, but i've > disabled javascript. > > here is a code for the button. > > <clickButton description="Clicking the Login button should take us to > Appraisal Console" label="Logon" name="Submit"></clickButton> > > and here is the code in the jsp > <tr> > <div class="logonbutton" align="center"> > <input type="submit" name="Submit" value="Logon" > class="contentbutton" onClick="submitForm();"> > </div> > </tr> > > And this is the error message i keep getting. > > Error > Message > No button found > > Location > /home/phumza/workspace1/WebTesting/tests/TamiTests/batch1.xml (line: 38) > > Details > available buttons > In current form: none > > Kind Regards > Phumza > > _______________________________________________ > 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

