[Wtr-general] Handling of the Mouse Over using watir
Hi In my application the user needs to do mouseover to do some functionality For eg: In the main page one Action button is provided, if the user makes a mouse over the action then another menu is displayed on the right side and the user should once again should do mouse over and another menu is displayed and from that user can click Action -- First Menu is displayed -- User does one more mouse over from the previous Mneu -- Final menu -- click (Mouse over) Action -- DPS -- Screening -- Click. How to handle this scenario ? Thanks Meghanath ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Handling of the Mouse Over using watir
In my application the user needs to do mouseover to do some functionality Can't you send a WM_MOUSEMOVE message? aidy --- This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person. --- ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Handling of the Mouse Over using watir
Try something like this: ie.cell(:text, Action).fire_event(onmouseover) Then figure out how to access the html for the new menu, etc. Bret Chintakrindi Meghanath wrote: In my application the user needs to do mouseover to do some functionality For eg: In the main page one Action button is provided, if the user makes a mouse over the action then another menu is displayed on the right side and the user should once again should do mouse over and another menu is displayed and from that user can click Action -- First Menu is displayed -- User does one more mouse over from the previous Mneu -- Final menu -- click (Mouse over) Action -- DPS -- Screening -- Click. How to handle this scenario ? Thanks Meghanath ___ 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
Re: [Wtr-general] Handling of the Mouse Over using watir
Hi Bret Yes. It worked, but I am facing one more issue. I used the following code ie.image(:src,/actions.gif/).fire_event(onMouseOver) ie.cell(:text, DPS-LIC).fire_event(onMouseOver) ie.cell(:text,Screening).click Action -- DPS-LIC -- Screening (click) -- DPS --- Screening (click) Now we have different actions, but the final click has the same name Screening,so its always performing the first one i.e DPS-LIC and I am unable to do the DPS -- Click One more thing i noticed is , the user can execute the last statement ie.cell(:text,Screening).click without excecuting the previous statements. Thanks Meghanath ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general