Thankyou sir you suggestion helped me.
On Apr 21, 4:58 am, Chuck van der Linden <sqa...@gmail.com> wrote:
> might work.
> given what he described I'm not betting on it since I THINK that
> focus only happens if you are using tab to move stuff with a defined
> taborder (e.g. entry fields) or you actually click on something.
> in this case it sounds like it's happening (if I read him right) when
> the mouse cursor moves over the stars, which would be onmouseover. not
> onfocus. Thing is that without seeing the code, you don't know what
> thing the 'onmouseover' has been defined for. It might be for a table
> cel, or a div, or who knows what kind of element. and you'll need to
> fire the event at the right element in order to get the client code to
> kick in and do it's thing.
> he's either going to have to figure that out for himself, or show us
> the code where the stars are defined on the page, and more importantly
> where there's some 'onmouseover=<scriptname> or somesuch defined.
> On Apr 20, 4:42 pm, George <george.sand...@gmail.com> wrote:
> > This may or may not work:
> > browser.link(:id, "thisisalink").fire_event("onfocus")
> > On Apr 20, 2:43 pm, Chuck van der Linden <sqa...@gmail.com> wrote:
> > > search the group for the phrase 'onmouseover' and you'll find
> > > threads about firing that event, which is likely what is driving the
> > > code.. (which you would likely discover if you review the actual code
> > > that makes the page work, or at least the code that drives the
> > > animation of the stars)
> > > On Apr 19, 11:06 pm, spike <vinaykumarl...@gmail.com> wrote:
> > > > Hi
> > > > I'm working on a application where I have a link "RATE THE COURSE" now
> > > > i don want to click on this link, instead i just want to place the
> > > > cursor on it because when i do so i'll get some STARS which i've to
> > > > click to rate the course. so i want to know how to jus place the
> > > > cursor on the link without clicking it.
> > > > thankingyou- Hide quoted text -
> > - Show quoted text -- Hide quoted text -
> - Show quoted text -
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to firstname.lastname@example.org
Before posting, please read the following guidelines:
To unsubscribe from this group, send email to
For more options, visit this group at