Micro Focus QTP (UFT) Forums
How to capture operation such as hovering a mouse - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to capture operation such as hovering a mouse (/Thread-How-to-capture-operation-such-as-hovering-a-mouse)



How to capture operation such as hovering a mouse - nikhilcogni - 03-20-2013

How to capture operation such as hovering a mouse

Say we have many web sites where we have to hover our mouse and then we see options

say when we hover our mouse then only we the all other options.

How do we do that.


RE: How to capture operation such as hovering a mouse - basanth27 - 03-20-2013

Are you looking for the tooltip text or you would want to hover the mouse to a particular location?


RE: How to capture operation such as hovering a mouse - nikhilcogni - 03-20-2013

@ Basanth: No I want to hover my mouse, because once I move my mouse then only those menus come up, such as in flipkart and tradus.in


RE: How to capture operation such as hovering a mouse - supputuri - 03-20-2013

There are multiple ways of handling this.
1) Using Fireevent
2) Using Device Repaly
3) Chaning the ReplayType
4) DOM
Please explore these options select best one according to your application and your comfort level.


RE: How to capture operation such as hovering a mouse - nikhilcogni - 03-22-2013

Supputuri:

Can you give me an example so that I can explore?


RE: How to capture operation such as hovering a mouse - sams001 - 03-23-2013

Hi,

Try using the following command for FireEvent over the object that you want to check its tooltip or whatever.
<object>.FireEvent "onmouseover"

It should fire the event of mouseover.

--Sams