[Wtr-general] using span

2007-03-16 Thread Naga Harish Kanegolla
Hi all,
  I have a span link in which if we  mouse hover on that link a form appears 
for us.It will be there still we cancel that form, And it does not work on 
click, So is there a way to automate that link using watir??
I used $ie.span(:class,popup_link).click  but it doesn't open the form, but i 
tried mouse hover manually while watir is running then watir recognized the 
form, so can u please help me to open the form using the mouse hover?

Thanks in Advance,
Harish
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] using span

2007-03-16 Thread Charley Baker

If it has a javascript onmouseover event associated with it, you could fire
that event first and then get the controls.

ie.span(:class, 'popup_link').fire_event('onmouseover')

now interact with the controls on the rendered form.

Hopefully that helps.

-Charley

On 3/16/07, Naga Harish Kanegolla [EMAIL PROTECTED] wrote:


Hi all,
  I have a span link in which if we  mouse hover on that link a form
appears for us.It will be there still we cancel that form, And it does not
work on click, So is there a way to automate that link using watir??
I used $ie.span(:class,popup_link).click  but it doesn't open the form,
but i tried mouse hover manually while watir is running then watir
recognized the form, so can u please help me to open the form using the
mouse hover?

Thanks in Advance,
Harish
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general