[wtr-general] Re: click method with list items

2009-07-21 Thread Ivan Kabluchkov
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=

[wtr-general] Re: click method with list items

2009-07-21 Thread Basavana Gowda K S
Hi Ivan, That option is also not working On Tue, Jul 21, 2009 at 11:48 AM, Ivan Kabluchkov ikabluch...@gmail.comwrote: 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:

[wtr-general] Re: click method with list items

2009-07-21 Thread basu
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

[wtr-general] Re: click method with list items

2009-07-21 Thread kiran yajamanyam
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')

[wtr-general] Re: click method with list items

2009-07-21 Thread Ivan Kabluchkov
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,

[wtr-general] Re: click method with list items

2009-07-21 Thread kiran yajamanyam
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.comwrote:

[wtr-general] Re: click method with list items

2009-07-21 Thread Chuck van der Linden
try it manually from a IRB console session, Get the element selected in firebug so you can see it's properties then try firing first the onmouseover event as that is specifically what the element is set to trigger on. have a close look in firebug at how the item was modified by the code that

[wtr-general] Re: click method with list items

2009-07-21 Thread Chuck van der Linden
A few other notes: If you are in fact trying to automate the page this code appears to come from (the winamp music page) then you need to be aware of a few things that are going to cause you challenges when automating this page. 1) those 'lists' are not anything of the sort. They are not HTML