$ie.image( :id, "CartControl_CartDataGrid_ctl3_RemoveButton1" ).click


On 12/8/05, Mike Tierney <[EMAIL PROTECTED]> wrote:
Here is another _javascript_ question.  I am trying to remove an item from a shopping cart. The remove button looks like this in Spysmith :
<INPUT language=_javascript_ id=CartControl_CartDataGrid__ctl3_RemoveButton1 (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); " type=image src="" border=0 name=CartControl:CartDataGrid:_ctl3:RemoveButton1>

I tried :

$ie.button(:id, "CartControl_CartDataGrid__ctl3_RemoveButton1").fire_event("onclick")
.. also some other permutations, no help. I am sure that I meet the criteria for 'page client validate' otherwise, but Watir cant seem to click this thing. Thanks for any help, Mike T.


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to