Thanks so much. After some experimenting, it looks like
fire_event("mousedown") does the trick

Much appreciated!

On Mar 2, 6:52 am, Željko Filipin <zeljko.fili...@wa-research.ch>
wrote:
> On Tue, Mar 2, 2010 at 12:42 PM, xguarder <shams...@gmail.com> wrote:
> > Doing the .click
> > method does not properly mimic the manual mouse click.
>
> You probably have to fire a JavaScript event. Something like this:
>
> $browser.cell(:class => /available/, :index => 1).fire_event("onmouseclick")
>
> Ask the developer which event should be fired. Event Spy Firefox add-on
> could help too:
>
> https://addons.mozilla.org/en-US/firefox/addon/1100
>
> Željko
> --
> watir.com - community manager
> pledgie.com/campaigns/2982 - donate to Watir
> watirpodcast.com - host
> testingpodcast.com - audio podcasts on software testing. all of them

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to