[Webtest] clickbutton on input type="button"
Aatish Arora
webtest@lists.canoo.com
Mon, 19 Apr 2004 08:52:04 -0700 (PDT)
cool...
but i do find something different here ...in my patch
u had to specify the type of the button too when u
click it. Accroding to the logs mentioned below - u
dont have to! :(
cheers!
Aatish
--- lisa.crispin@att.net wrote:
> I believe your patch was integrated in the main
> build, because I had this problem and some kind
> person (Marc? or Mittie?) put it in the main build.
> Since then clickbutton works MOST of the time on
> input type="button", even ones with Javascript. It
> doesn't work in all cases, and we haven't figured
> out why.
> thanks,
> Lisa
>
>
> > hi Alan,
> >
> > Im not sure if its integrated into the main
> > build...but i guess i have aptch for it... lemme
> know
> > if u need it.
> >
> > cheers!
> > aatish
> >
> > --- Alan Chan <alan@planitax.com> wrote:
> > > Hi All,
> > >
> > > I'm having troubles getting clickbutton to work
> on
> > > input type="button".
> > > Does build 441 support clickbutton on the
> "button"
> > > input type? Does
> > > anyone have a patch or something to workaround
> this?
> > >
> > > Thanks,
> > > Alan
> > >
> > > The HTML source is something like this:
> > >
> > > <table border="0" cellpadding="3"
> cellspacing="0"
> > > width="100%"
> > > class="copyText">
> > > <tr>
> > > <td align="left"
> > > class="componentTitleDark">
> > > Shortcuts
> > > </td>
> > > <td align="right"
> > > class="componentTitleDark"
> > > nowrap="true">
> > > <input
> > > type="button" value="new
> > > shortcut"
> > > onclick="javascript:execEvent('shortcuts:add');"
> > > class="btnRegular">
> > > <input
> > > type="button" value="edit"
> > > onclick="javascript:onEditSubmit();"
> > > class="btnRegular">
> > > <input
> > > type="button" value="delete"
> > > onclick="javascript:onDeleteSubmit();"
> > > class="btnRegular">
> > > </td>
> > > </tr>
> > > </table>
> > >
> > >
> > > The clickbutton step is:
> > >
> > > <clickbutton
> > > stepid="Click on the new
> > > shortcut button"
> > > name="new shortcut" />
> > >
> > > Error message is:
> > > Test step clickbutton named "Click on the new
> > > shortcut button" failed
> > > with message "Button with name <new shortcut>
> and
> > > value <<not
> > > specified>> not found!"
> > >
> > >
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Photos: High-quality 4x6 digital prints for
> 25¢
> > http://photos.yahoo.com/ph/print_splash
> > _______________________________________________
> > WebTest mailing list
> > WebTest@lists.canoo.com
> > http://lists.canoo.com/mailman/listinfo/webtest
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash