[Webtest] clickbutton on input type="button"

Aatish Arora webtest@lists.canoo.com
Mon, 19 Apr 2004 05:58:18 -0700 (PDT)


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