Micro Focus QTP (UFT) Forums
How to capture mouse touching funtion in QTP? - 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 mouse touching funtion in QTP? (/Thread-How-to-capture-mouse-touching-funtion-in-QTP)



How to capture mouse touching funtion in QTP? - svanmitha - 10-11-2010

Hi,

I am using 9.2 version of QTP. In my application some menus are there which displays the sub menu while touching the mouse on it.Then user can click any of the sub menu where he wants to land.

In that i have 1 issue.What mean, qtp stores that function as "Browser("EaZy REcruitment").Page("EaZy REcruitment").Frame("Frame_2").Link("Codes").Click" while recording but not execute the function while running, it simply come out and shows the result as Done.

What is the problem? Please tell how to rectify it?


RE: How to capture mouse touching funtion in QTP? - MVChowdary - 10-11-2010

Can you provide the application screen shot includes main menu->sub Menu


RE: How to capture mouse touching funtion in QTP? - KavitaPriyaCR - 10-11-2010

add the line:
Code:
Browser("EaZy REcruitment").Page("EaZy REcruitment").Frame("Frame_2").OnMouseOver
before:
Code:
Browser("EaZy REcruitment").Page("EaZy REcruitment").Frame("Frame_2").Link("Codes").Click



RE: How to capture mouse touching funtion in QTP? - svanmitha - 10-11-2010

Hi KavitaPriyaCR,

Thank You for your reply.
It is not working since there is no object as "OnMouseOver".
Please tell any other options if you know.

Thanks...


RE: How to capture mouse touching funtion in QTP? - KavitaPriyaCR - 10-11-2010

M extremely sorry svanmitha, In a hurry i wrote like that, it should be
Code:
Browser("EaZy REcruitment").Page("EaZy REcruitment").Frame("Frame_2").FireEvent("onmouseover")