Tried and tired with all options using fire_event but no luck.
If some one have code for Right click or mouse click (Co-Ordinate basis)
for firefox please send it across that will be very much useful

Regards,
Kinnu

On Tue, Jul 21, 2009 at 12:59 PM, Ivan Kabluchkov <ikabluch...@gmail.com>wrote:

>
> May be use fire_event('onMouseOver') instead of focus() ?
>
> On 21 июл, 11:00, kiran yajamanyam <kiranyajaman...@gmail.com> wrote:
> > Its not working for me in firefox :(
> >
> > On Tue, Jul 21, 2009 at 12:18 PM, basu <bas.go...@gmail.com> wrote:
> >
> > > Used this, its working now
> > > $browser.ul(:id, "cntList").li(:index, 1).link(:text, "World
> > > Wide").focus()
> > > $browser.ul(:id, "cntList").li(:index, 1).link(:text, "World
> > > Wide").fire_event('onClick')
> >
> > > On Jul 21, 11:32 am, kiran yajamanyam <kiranyajaman...@gmail.com>
> > > wrote:
> > > > Hi Friends,
> >
> > > > Even i face this issue many times for many buttons. But i use
> mouse_click
> > > > method. Unfortunately, mouse_click is not working fine for firefox
> > > browser
> > > > and i have got struck up with this issue and there is no other work
> > > around
> > > > for me.
> >
> > > > Is there any solution for this?
> >
> > > > Regards,
> > > > Kinnu
> >
> > > > On Tue, Jul 21, 2009 at 11:53 AM, Basavana Gowda K S <
> > > bas.go...@gmail.com>wrote:
> >
> > > > > Hi Ivan,
> >
> > > > > That option is also not working
> >
> > > > > On Tue, Jul 21, 2009 at 11:48 AM, Ivan Kabluchkov <
> > > ikabluch...@gmail.com>wrote:
> >
> > > > >> Try to raise javascript event
> >
> > > > >> $browser.ul(:id, "cntList").li(:index, 1).link(:text, "World
> > > > >> Wide").fire_event('onClick')
> >
> > > > >> On 21 июл, 09:59, basu <bas.go...@gmail.com> wrote:
> > > > >> > Hi,
> > > > >> > I have list structure like this,
> >
> > > > >> > <ul id="cntList" class="chartsdul" style="display: block;">
> > > > >> > <li>
> > > > >> > <a id="" onmouseout="TopArtist.set('0');"
> onmouseover="TopArtist.set
> > > > >> > ('1');" href="http://www.winamp.com/music/top-artists/all/today
> "
> > > > >> > onclick="TopArtist.selectitem(id)">World Wide</a>
> > > > >> > </li>
> > > > >> > <li>
> > > > >> > <a id="arg" onmouseout="TopArtist.set('0');"
> > > onmouseover="TopArtist.set
> > > > >> > ('1');" href="http://www.winamp.com/music/top-artists/argentina
> "
> > > > >> > onclick="TopArtist.selectitem(id)"> Argentina </a>
> > > > >> > </li>
> > > > >> > </ul>
> >
> > > > >> >      $browser.ul(:id, "cntList").lis.each{|list_item|
> >
> > > > >> >            puts list_item.text()
> >
> > > > >> >     }
> > > > >> > list_item.flash() or $browser.ul(:id, "cntList").li(:index,
> 1).link
> > > > >> > (:text, "World Wide").exists?()  both are locating the object
> but i
> > > am
> > > > >> > not able to perform click operation on the links embedded inside
> li
> > > > >> > tag , could some give me inputs ?
> > > > >> > Thanks in advance
> > > > >> > -Basu
> >
>

--~--~---------~--~----~------------~-------~--~----~
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