[wtr-general] Re: Clicking a JavaScript image button

2009-01-15 Thread Oded
gt; > Thanks. > Wesley Chen. > > On Thu, Jan 15, 2009 at 8:04 PM, Oded wrote: > > > Hello all, > > I'm fairly new to Watir, I'm trying to click on a certain image button > > with no success. > > My code looks like this: > > require watir > &

[wtr-general] Clicking a JavaScript image button

2009-01-15 Thread Oded
Hello all, I'm fairly new to Watir, I'm trying to click on a certain image button with no success. My code looks like this: require watir ie = Watir::new ie.goto(host) ie.image(:id, 'btnLogin_imgButton').fire_event("OnMouseDown") ie.image(:id, 'btnLogin_imgButton').fire_event("OnMouseUp") ie.image