On 4/7/07, Maloy kanti debnath <[EMAIL PROTECTED]> wrote:
how can I make sure that the tooltip, no matter whether it is present in the title of the enclosing 'span' or not, gets displayed on the screen, when the mouse is hovered over the link.
Hi Maloy, The answer is very simple. If span tag has some text in title attribute, that text will be displayed on the screen when mouse is over it. So, all you have to do is to check if span has title. You can do like this. irb(main):004:0> ie.span(:class, "listCellQT").title => "Note from Yolanda Dave.This is a public note.This is an additional note from Christina Bergman" If you want to test if browser displays title of a tag, it is outside of watir's scope. Watir tests functionality of web applications, not functionality of browsers. And displaying title of a tag is browser functionality. Zeljko -- ZeljkoFilipin.com
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general