Loading ...
Sorry, an error occurred while loading the content.

261Re: Using Div tag in WATIR

Expand Messages
  • bpettichord
    Mar 2, 2006
    • 0 Attachment
      --- In ruby-india@yahoogroups.com, Cool Priti <cool_priti_s@...> wrote:
      > Hello Everyone,
      > I am trying to do mouseover of my image which is in a div tag. But
      I'm afraid if WATIR can see the image present in div tag.
      > The code I'm writing for accessing the image is as follows:
      > $ie.div(:id,"div1").image(:id,"roll").fireEvent("onMouseOver")
      > Is it a right way? Or a another way is there?
      > Can anybody please help me?
      > Thank you,
      > Priti.

      Looks right to me. You'll have to use Watir 1.5, however.
    • Show all 3 messages in this topic