Hi!

I agree with Zeljko, we can't give an informed answer without example
html, but here are some 'stabbing in the dark' suggestions to try.

You may be able to click on the div, link or span more simply:

ie.link(:text, 'span text').click
ie.span(:text, 'span text').click
ie.div(:id, 'dividname').click

Also, we don't know what your problem is.  Do you get an error message
or does nothing happen?

If nothing happens, you may want find out if there's an associated
javascript event you need to fire:
ie.link(:text, 'span text').click
ie.link(:text, 'span text').fireEvent('my_javascript_event')

I hope this helps, but if it doesn't, you'll need to provide us with
some more specifics.

-Tiffany
On Oct 14, 5:36 am, ashitha shetty <[email protected]> wrote:
> Hi,
>
> I am facing problem on clicking tabs.
>
> below is my code:
>
> ie.link(:id,"idname").span(:text,"span text").click
>  or
> ie.div(:id,"dividname").span(:text, "Span text").click
>
> Any help would be appreciated.
>
> Thanks

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to